Re: Server / filename manipulation

From: Date: Tue, 27 Jan 2004 17:34:10 +0000
Subject: Re: Server / filename manipulation
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-175952@lists.php.net to get a copy of this message
One question, Do you know if this is possible with IIS? Thanks for your help "Shaun" <shaun@mania.plus.com> wrote in message news:20040122193133.29075.qmail@pb1.pair.com... > Perfect, complicated but perfect! > > Thanks > > "Raditha Dissanayake" <jabber@raditha.com> wrote in message > news:40100DCA.3030705@raditha.com... > > 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.

« previous php.general (#175952) next »