2008-09-01, 08:19 PM
hi
i was wondering since a lot of people are good at php here if someone could help me with a php script( really small)
if want a php script to redirect a download request eg.
Directory Structure
--Uploads
----files
----download.php
so instead of linking xxx.com/uploads/files/*fileneame*
i can go xxx.com/uploads/download.php?filename=*filename*
or if possible place the download.php in the root
and have xxx.com/download.php?filename=*filename*
or something around those lines
Any help will be very appreciated..mo explanation of script necessary ...that bit and any changes i can do ..thanks
i was wondering since a lot of people are good at php here if someone could help me with a php script( really small)
if want a php script to redirect a download request eg.
Directory Structure
--Uploads
----files
----download.php
so instead of linking xxx.com/uploads/files/*fileneame*
i can go xxx.com/uploads/download.php?filename=*filename*
or if possible place the download.php in the root
and have xxx.com/download.php?filename=*filename*
or something around those lines
Any help will be very appreciated..mo explanation of script necessary ...that bit and any changes i can do ..thanks