[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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php