Update The script to make use of the RewriteRule in the htaccess file.
The Rule could change from:
RewriteRule view-(.*) view.php?filename=$1
To
RewriteRule view/(.*) view.php?filename=$1
This will give user friendly URLs like image shack
so
http://pix.thechozen...8youtubenx9.jpg
and
http://pix.thechozen...8youtubenx9.jpg
will display the same page
all that needs to be done is update the links to absolute path by simply adding / at the beginning of each linked icon, as well as the link structure
so it will look something like
<a href="/view/<?= $line[filename] ?>">
instead of
<a href="view.php?filename=<?= $line[filename] ?>">
Here is the file and occurrences that would need to be change
gallery.php (line 101)
index.php (line 16)
myimages.php (line 93)
myimages.php (line 119)
view.php (line 91)
view.php (line 141)
view.php (line 147)
view.php (line 149)
view.php (line 151)
admin/reports.php (line 90)
lib/upload.js (line 158)
lib/upload.js (line 165)
lib/upload.js (line 166)
lib/upload.js (line 167)
Page 1 of 1
Make .htaccess Usefull
Page 1 of 1

Sign In
Register
Help

MultiQuote