Ive known about this for quite some time but personally prefer mod_rewrite...
for example if i wanted to turn say image.php?image=2.gif into image2.gif i could simply write this into .htaccess:
RewriteEngine On
^image([0-9]*).gif$ image.php?image=$1 [L]
Easy dynamic images (without .htaccess)
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
Please post any phpBB 3.1.x related topics in the forum.
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Easy dynamic images (without .htaccess)
- we're poor!
- Afterlife(69)
- Member
- Posts: 175
- Joined: 30 Jun 2006, 21:23
- Real name: Dean
- Location: Sydney, Australia
- Contact:
- Afterlife(69)
- Member
- Posts: 175
- Joined: 30 Jun 2006, 21:23
- Real name: Dean
- Location: Sydney, Australia
- Contact:
You can also do this by accessing a file as-if it were a directory and parsing the url via php (or another language)
The following url schema will fool bbcode into thinking the script is a directory: http://auscoder.com/2006-07-12/alternat ... -vars.html
The following url schema will fool bbcode into thinking the script is a directory: http://auscoder.com/2006-07-12/alternat ... -vars.html
Life in the house
Return to “phpBB 3.0.x "Olympus" discussion”
Who is online
Users browsing this forum: Google [Bot] and 29 guests