fatih olcer wrote:

hi,
how to block a user downloading a file?
eg : when a user enter an address like http://localhost/downloads/testfile.cab
i want to forward him to an other address like
http://localhost


i'm PHP newbie thanks for help.



hi,
 you have to use this code :
<?
header ("Location:  http://localhost";);
?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to