[thelist] fopen on php failing

Ken Robinson kenrbnsn at rbnsn.com
Wed Feb 23 12:29:08 CST 2005


Quoting alex <alex at deltatraffic.co.uk>:

>  $fail = "failed";
>                 $remote = @fopen ($link, "rb");
>                 if (!$remote){
>                         print($link." FAILED");
>                         return $fail;
>

Where is the variable '$link' being defined? If it is coming from the URL, use
$_GET['link'], if it's coming from a POSTED form, use $_POST['link'].

Ken


More information about the thelist mailing list