Author Topic: Generated URL question  (Read 7814 times)

f3rland

  • Newbie
  • *
  • Posts: 3
    • View Profile
Generated URL question
« on: October 27, 2008, 06:58:28 PM »
Using that mask :
http://$host/down.php?sfile=$file
It put a / before the $file (http://example.com/down.php?sfile=/exampleFile.txt)

Same thing for :
http://$host/down.php?sfile=$dir$file
it put a / in front of the $dir (http://example.com/down.php?sfile=/folder/exampleFile.txt)

Is there any way to bypass that behaviour?

I would like to have this as a result :
http://example.com/down.php?sfile=folder/exampleFile.txt
instead of
http://example.com/down.php?sfile=/folder/exampleFile.txt

Thanks for that soft! save a lot of time and headhache!  ;D
« Last Edit: October 28, 2008, 06:18:53 PM by f3rland »