Hello!
I have search for info in this group about this topic and found it but can't
get working my program.
These are the steps I have done:
1� Download and install latest php version (4.3.4)
2� Test that it works (IIS)
3� Change php.ini:
extension_dir = install_dir/extensions/
uncomment "extension=php_openssl.dll"
4� Copy from dlls folder to win\system32
libeay32.dll and ssleay32.dll
The code I'm using is:
$sFinalUrl = https://www.alsa.es/compra/com_csimpleidavuelta.asp;
$handle = fopen($sFinalUrl, "r");
$lExpireDate = fgets($handle);
fclose($handle);
And the errors are
Notice: fopen(): Unable to find the wrapper "https" - did you forget to
enable it when you configured PHP? in
C:\Inetpub\PostNuke-0.726\mpValidar.php on line 62
Warning: fopen(https://www.alsa.es/compra/com_comprasimple.htm): failed to
open stream: Invalid argument in C:\Inetpub\PostNuke-0.726\mpValidar.php on
line 62
Warning: fgets(): supplied argument is not a valid stream resource in
C:\Inetpub\PostNuke-0.726\mpValidar.php on line 63
Warning: fclose(): supplied argument is not a valid stream resource in
C:\Inetpub\PostNuke-0.726\mpValidar.php on line 64
What else must I do? What I'm doing wrong?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php