Avatar of dtivmk
dtivmk

asked on 

php problem with fopen("https://..")

I am using XAMPP's latest version.

<?php
fopen( "https://www.google.com/accounts/ClientLogin","rb");
?>

Warning: fopen(https://www.google.com/accounts/ClientLogin) [function.fopen]: failed to open stream: Invalid argument in nn.php on line 2

It works for urls beginning with http://.

In my php.ini, I uncommented the following line :
extension=php_openssl.dll

Here is phpinfo() :

http://dharmendra.tolani.googlepages.com/nCheck.php.htm
PHPSSL / HTTPS

Avatar of undefined
Last Comment
dtivmk

8/22/2022 - Mon