RE: [PHP] file_get_contents and https
- From: jblanchard@xxxxxxxxxx ("Jay Blanchard")
- Date: Thu, 31 May 2007 08:17:05 -0500
[snip]
I am new to PHP; using Apache 2.2 and PHP 5/Windows. I'd like to do
this:
$x = file_get_contents("https://user:pw@xxxxxxx")
I get:
Warning: file_get_contents(https://...) [function.file-get-contents]:
failed to open stream: Invalid argument in ... on line...
[/snip]
The warning that you get is "Invalid argument..." Have you read
http://us2.php.net/file_get_contents to make sure that you are including
all needed arguments?
.
- Follow-Ups:
- Re: [PHP] file_get_contents and https
- From: Bob Hanson
- Re: [PHP] file_get_contents and https
- References:
- file_get_contents and https
- From: Bob Hanson
- file_get_contents and https
- Prev by Date: Re: local v remote
- Next by Date: Re: [PHP] file_get_contents and https
- Previous by thread: file_get_contents and https
- Next by thread: Re: [PHP] file_get_contents and https
- Index(es):
Relevant Pages
|