fopen a secure area
What I'm trying to do is something like this:
Thing is, I keep getting errors like it could not login/open the file. Any ideas how I could do this. I don't necessarily have to use fopen, although I tried file_get_contents and it still didn't work.
Any help is much appreciated
What I'm trying to do is something like this:
PHP:
$fh = fopen("http://USER:[email protected]/something.cgi", 'r') or die("ERROR");
fclose($fh);
Thing is, I keep getting errors like it could not login/open the file. Any ideas how I could do this. I don't necessarily have to use fopen, although I tried file_get_contents and it still didn't work.
Any help is much appreciated





