Page 1 of 1

hide url

Posted: Thu Aug 22, 2002 2:41 am
by angelbear
Hello,

how can I hide my download url from the address bar, status bar and when visitors view my source code from their browser?

pls help, thanks.

angelbear

Posted: Thu Aug 22, 2002 9:26 am
by qads
it is quite easy..

make a download.php file and in it put somthing like:

Code: Select all

if(IsSet($file))
{
header("Location: path/download/folder/$file");
}
and pass the download files in the link like:

Code: Select all

<a href='download.php?file=filename.ext'>download</a>

easy ain't it? :)

Posted: Fri Aug 23, 2002 1:03 am
by angelbear
thanks a lot! got it working :D