Do you mean allow_url_fopen? It is set to 'on'. There's no fopen_wrapper setting
Reading from http:// using fopen works fine. It's the https:// that doesn't work. ----- Original Message ----- From: "Stephan Seidt" <[EMAIL PROTECTED]> To: "Jonathan Boles" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 3:02 AM Subject: Re: [PHP] Can't get HTTPS -- driving me mad -- please help > Is fopen_wrapper in php.ini set to yes ? > > Jonathan Boles wrote: > > PHP 4.3.0, Apache, Win32. > > > > I'm driving myself mad trying to work out why I can't get HTTPS pages. I > > understand there are two options, using fopen() with openssl installed, and > > using curl. I've installed openssl extension, but using fopen STILL won't > > work. Don't have a clue why. Using curl, I can get the page easily enough, > > but I can't put it into the file. If I try to set a file resource to save it > > to, Apache crashes. > > > > Here's the error message I get using fopen("https://[securewebsite]", "r"); > > > > Warning: fopen(https://blahblahblah) [function.fopen]: failed to create > > stream: No such file or directory in blah\blah\blah.php on line 50 > > > > > > > > And when I try to use Curl to save the https file, I get this: > > > > APACHE caused an invalid page fault in > > module KERNEL32.DLL at 0187:bff7b9a6. > > Registers: > > EAX=00000000 CS=0187 EIP=bff7b9a6 EFLGS=00000246 > > EBX=02af796c SS=018f ESP=0167f398 EBP=0167f3b0 > > ECX=00fe6770 DS=018f ESI=7803b730 FS=19a7 > > EDX=7803b710 ES=018f EDI=100be740 GS=0000 > > Bytes at CS:EIP: > > ff 76 04 e8 13 89 ff ff 5e c2 04 00 56 8b 74 24 > > Stack dump: > > 00000032 00fd5131 7803b730 00fd523b 7803b710 00000032 00000001 00fc1ee8 > > 00ff48ac 00000001 00000032 7803b710 00000032 00ff4240 00ff48ac 00ff4801 > > > > > > Here is the code I'm using at that section: > > > > $ch = curl_init ("https://blahblahblah"); > > $fp = fopen ("output.txt", "w"); > > curl_setopt ($ch, CURLOPT_FILE, $fp); > > curl_setopt ($ch, CURLOPT_HEADER, 0); > > curl_exec ($ch); > > $ce = curl_error($ch); > > curl_close ($ch); > > fclose ($fp); > > > > > > > > This is really driving me mad, someone please help :-( > > > > > > > > > > > > > -- > IPv6 + TCPA + wrecked Palladium server = NO COFFE! > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php