On 7/8/05, Marian Briones <[EMAIL PROTECTED]> wrote:
> Hi gang
> I'm almost done with this site I'm doing.  It is a membership site, so
> part of it is they choose a membername so someone can bringup their
> profile easily - www.thesite.com/membername
> 
> So, it does a mkdir and now I have to have it also write an index.php
> page that will bring up their profile when someone goes to that URL.

This shouldn't be nor the easiest nor the best way to do it.
Would be a hell to maintain, because you are writing the same page
over and over for each member. If you later decide to change
something, you'll have to change each and every one of them.
Instead, you could make just one dynamic page, and make symlinks for
each member. You would have:

directory/dynamicpage.php

and for each member:

member1 -> directory/
member2 -> directory/
... and so on...

This is the easiest way I can think of. Perhaps you'll need to add
directives to your web server to allow it to follow symlinks, though
that's normally easy to do.

-- 
Bruno Lustosa, aka Lofofora          | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil              |


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to