Daney11 Posted November 28, 2006 Share Posted November 28, 2006 Hi Guys,Ive seen about, for example,http://www.gbgl.co.uk/league/1/^^ Websites being ended without the .php.How would i go about doing this?ThanksDane Quote Link to comment Share on other sites More sharing options...
taith Posted November 28, 2006 Share Posted November 28, 2006 they are linking to the folder, not to the file, when you link to a folder, the index.php is automatically retrieved, but is not shown in the addressbar. Quote Link to comment Share on other sites More sharing options...
Daney11 Posted November 28, 2006 Author Share Posted November 28, 2006 Ok mate.Thanks a lot. Quote Link to comment Share on other sites More sharing options...
Daney11 Posted November 28, 2006 Author Share Posted November 28, 2006 So how does it go about linking to files 2 or 3 folders back?../link.jpg../../link.jpg?Something like that Quote Link to comment Share on other sites More sharing options...
Davka Posted November 28, 2006 Share Posted November 28, 2006 They're using index.php as the sole "container" for each folder. Any other files are included or required by index.php Quote Link to comment Share on other sites More sharing options...
taith Posted November 28, 2006 Share Posted November 28, 2006 . <-- same folder.. <-- parent folderso yes... "../../link.jpg" would send you 2 folders down and directed to that jpg Quote Link to comment Share on other sites More sharing options...
SharkBait Posted November 28, 2006 Share Posted November 28, 2006 They could be using Apache's Mod_rewrite too. The league and 1 could be arguments to another script. Thought that's a bit trickier to get to work properly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.