Perfect, complicated but perfect! Thanks
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi, > > If i understand you correctly this can be done using apache url > rewrites. We have done something similar (though not with php) on > http://www.kelanisearch.com/ on this site regardless of the page that's > accessed the same script is called, isn't that what you are looking for? > > If so there is an excellent guide to URL rewriting distributed with the > apache docs. > > all the best > > > Can be done using > Shaun wrote: > > >Hi, > > > >I have an question on how to create a completely database / xml driven site > >i.e. the page names, links, the site map etc are held in the database. I > >think I have solved most problems but what I would really like to do is > >limit the number of pages I need. Can I manipulate the server such that if I > >have links to a pages; <a href="red_hats.php">red_hats.php</a> and <a > >href="yellow_hats.php">yellow_hats.php</a> can both these links and others > >link to a different page that dynamically constructs whilst the links aren't > >altered. Maybe is there some way that a default php page is called that > >reads the link of the page called and constructs appropriately etc. > > > >I would be most grateful for your input on this. > > > > > > > > > -- > Raditha Dissanayake. > ------------------------------------------------------------------------ > http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload > Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader > Graphical User Inteface. Just 150 KB | with progress bar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php