See the curl extension.  http://php.net/curl

And as of PHP 4.3 you will be able to open an https page directly with
fopen().

-Rasmus

On Fri, 12 Apr 2002, Ninety-Nine Ways To Die wrote:

> Ok I got a question for you guys and gals, I am not sure how to go about this, 
>looking for opinions.
>
> I am trying to open a secured url, we'll say 
>https://www.bob.com/test/index.php?blah=freak
>
> Also, it's got http-auth in it, say user=abc and password=123, so how would I go 
>about using php to download the page, compare it, then generate a, say, snmp trap 
>based on the findings (say I downloaded the page or have search text in the page), 
>and if it can't get to it, or gets an error, etc... it generates the trap.
> Just curious how I should go about this, fopen doesn't seem to support https, not 
>sure if I could use AUTH with that anyway, but any suggestions are welcome...
>
> -Matt
>
>
> See Dave Matthews Band live or win a signed guitar
> 
>http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to