I ve written a down.php to download something
look at these codes
<?php
//down.php
$location="ftp://name:mypass@202.115.15.7/hi.mp3";
header("location:$location");
?>
the codes above can not do the job
if I change 202.115.15.7 into 202.115.15.5(this is where the very php file located)so: why??
because the ftp server is not the same server the
very php file located?
of course both ftp adress is effective!!
who can help me if I want write a download php in this way!(download from a defferent server using header("location $location "))
thanks!!!!