Hi -

I got it all solved without the symlink.  What I was trying to do was
to let a registered member create their own virtual webspace.  Say I
want to be able to display my profile to someone if they go to the url
www.mymembershipsite/catlady

Catlady is my chosen name for this thing; myspace.com does this
actually.  It was deciding how that was going to work.  I found the
.htaccess Rewrite Rules solved this for me.  I merely have it append
the user's desired namd (after checking for duplicity) and appending
it to the .htaccess file. 

The thing for me to think about later is if a user is deleted, I'll
have to manually rewrite the .htaccess file, but I can see storing
that information in another database table and writing it out if that
happens (something to think of).

Thanks for everyone's help on this. I learned a lot and I hope I can
pass the things I learn here onto others.

Marian

 --- In [email protected], Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >--- In [email protected], Pete <[EMAIL PROTECTED]> wrote:
> >> In message <[EMAIL PROTECTED]>, Marian Briones
> >> <[EMAIL PROTECTED]> writes
> >> >The way people would come upon this page is by typing something
like:
> >> >
> >> >www.somedomain.com/cat
> >> >
> >> >cat would be a symlink to a php page that would bring in 'cat's
> >> >information from the database, hence displaying cat's 'web page.'
> >> 
> >> Have you looked at RewriteRule in your .htaccess?
> >No, what's that?  (Google time again)..
> 
> If you have
> mysite.com/cat
> htaccess could change it to 
> mysite.com/homepage.php?ID=123
> 
> and look it up in a database.
> 
> >.
> >> 
> >> What I don't understand, is why, if you are using a database, you
need
> >> separate folders (as you seemed to be implying earlier)
> >
> >I dumped that (lousy) idea.  Way too crude and inefficient to have a
> >zillion subdirs.  
> 
> So, what are you trying to do?
> 
> >> 
> >> type in somedomain.com/cat
> >> (Look up cat in a database)
> >
> >Okay well how would I look up cat in the db to send the variable?
> 
> It is possible (read 'unusual' but it works) to set up a custom 404
> error page, that recognises that the tail (cat) is a name, and forward
> the user to 
> mysite.com/homepage.php?ID=123
> 
> 
> >
> >(bordering on insanity)
> >
> >Thanks, Pete!  Hope I can manage to get this together before I lose
> >all of my hair...
> 
> I am no longer clear what you are trying to do - and it sounds as though
> you aren't either!  <G>
> 
> Please tell again...
> 
> -- 
> Pete Clark
> 
> http://www.hotcosta.com
> http://www.spanishholidaybookings.com




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hhd58ri/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123431127/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

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