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=12hrqlti9/M=362131.6882499.7825260.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123410379/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</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/
