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