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
<?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
Ans :
Ok,
I was editing the wrong php.ini.
I should have edited it in :
xampp\apache\bin
rather than
xampp\php\
in phpinfo(), it is shown which php.ini is being loaded.
I was editing the wrong php.ini.
I should have edited it in :
xampp\apache\bin
rather than
xampp\php\
in phpinfo(), it is shown which php.ini is being loaded.
No comments:
Post a Comment