Q on fopen (URL )
| From: | \[php\]Walter | Date: | Thu, 13 May 2004 16:57:11 +0000 |
| Subject: | Q on fopen (URL ) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23708@lists.php.net to get a copy of this message | ||
I did this...
<?php
$my_email = 'myID;
$my_password = 'myPW';
$mystr = "EMail=$my_email&passwd=$my_password";
$url = "https://www.homier.com/security.asp?a=v&$mystr";
echo URLopen($url);
// code from PHP docs...
function URLopen($url)
{
// Fake the browser type
ini_set('user_agent','MSIE 4\.0b2;');
$dh = fopen("$url",'r');
$result = fread($dh,8192);
return $result;
}
?>
What I get back is this...
Unable to find wrapper "https"
- did you forget to enable it when you configured PHP?
I can't find any (real) reference to this anywhere.
Anyone have any ideas?
I'm on an NT, PHP 4.3.2
Walter Torres
======================================================================
Torres Development Group Systems Design & Development Services
web.torres.ws C++ Perl PHP
V:708-288-5859 F:714-908-8403 [d]HTML CSS Javascript
======================================================================