You are here: Re: users direct page « All PHP « IT news, forums, messages
Re: users direct page

Posted by Quimby on 09/28/52 11:48

On 22 May 2006 14:59:20 -0700, todd@elygenhosting.com wrote...
>
>Im not too sure how to go about this. I am working on a project where i
>have users register on the site and when they do they need to be
>assigned a url like this http://www.thesite.com/username. Kind of like
>it is on myspace. I was thinking
>1) using a php script to have cpanel create a subdomain for each user.
>2) when the user registerd have a folder created somewhere then have
>some code in a 401
>page that searches the database for the /username at the end of the url
>then
>direct to the correct rfolder/page.
>
>Am i way off base.
>I appreciate your help
>Thanks
>Todd
>


Part of the trick is automating the folder creating. The other is managing the
user permissions. As an example if a user logged in as "user1" and was directed
to http://www.thesite.com/user1, you want to be sure they can't just key in
http://www.thesite.com/user2 to get administrative access to user2. If you
already have that sorted out though, your idea sounds like a reasonable one to
work with.

--
Unlimited Newsgroup Downloads / $19.95 month
More Details - http://newsguy.com/overview.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация