Connecting Tech Pros Worldwide Help | Site Map

adding username to Url

  #1  
Old July 17th, 2005, 03:15 PM
sharma
Guest
 
Posts: n/a
Hi,

I am developing a multilevel marketing system. This system will provide
users their own website(virtual). No real disk space. just play by
database and account status (paid or not paid).

I would like to have the url of a registered user like this

www.mysite.com/username/

I can create up to this point. when i tried to access this url. its the
requested url is not found..

Any ideas to make it work ?


Thanks in advance,
Sharma

  #2  
Old July 17th, 2005, 03:15 PM
Shelly
Guest
 
Posts: n/a

re: adding username to Url



"sharma" <sharma.chelluri@gmail.com> wrote in message
news:1121337592.319469.53960@g44g2000cwa.googlegro ups.com...[color=blue]
> Hi,
>
> I am developing a multilevel marketing system. This system will provide
> users their own website(virtual). No real disk space. just play by
> database and account status (paid or not paid).
>
> I would like to have the url of a registered user like this
>
> www.mysite.com/username/
>
> I can create up to this point. when i tried to access this url. its the
> requested url is not found..
>
> Any ideas to make it work ?
>
>
> Thanks in advance,
> Sharma[/color]

If you have a directory for each username, and in that directory have an
index.php or index.htm, then it should work. I have a site I am developing
and put all my management functions in a directory called manage which is
password protected. I access it as www.mysite.com/manage. All php and htm
calls are in that directory (unless I specify ../ in the code).

I assume that you will have control over what is uploaded by first checking
it before moving it into place. If so, then you can check for ../
occurances and deny the upload. Otherwise, you are opening up your world.

Shelly


  #3  
Old July 17th, 2005, 03:15 PM
JD
Guest
 
Posts: n/a

re: adding username to Url


You can do this with mod-rewrite

"sharma" <sharma.chelluri@gmail.com> wrote in message
news:1121337592.319469.53960@g44g2000cwa.googlegro ups.com...[color=blue]
> Hi,
>
> I am developing a multilevel marketing system. This system will provide
> users their own website(virtual). No real disk space. just play by
> database and account status (paid or not paid).
>
> I would like to have the url of a registered user like this
>
> www.mysite.com/username/
>
> I can create up to this point. when i tried to access this url. its the
> requested url is not found..
>
> Any ideas to make it work ?
>
>
> Thanks in advance,
> Sharma
>[/color]


  #4  
Old July 17th, 2005, 03:15 PM
Chung Leong
Guest
 
Posts: n/a

re: adding username to Url


Apache rewrite is the most direct approach. Creating a symlink for each
user to the same directory would work too.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding security question/answer check to ASP.NET *ChangePassword* control Ken Fine answers 2 August 25th, 2008 02:25 AM
Insert into instead of add to the HttpModules pipeline =?Utf-8?B?Tm9yZW1hYw==?= answers 3 March 14th, 2007 02:45 AM
how to create a gallery without using the EXIF function? FayeC answers 4 November 25th, 2005 11:35 PM
How to Build A Web Database (Without Programming) Rob Young answers 0 July 20th, 2005 04:13 PM