[nycphp-talk] embedding one web page in another
Brian Pang
bpang at bpang.com
Thu Jul 10 12:00:40 EDT 2003
Joe, you are not "compliant"
you need to upgrade php to 4.3
> At 11:34 AM 7/10/2003 -0400, you wrote:
>
> >You use this line of code:
> >
> > if (!($fp = fopen($theurl, 'r'))) { echo 'Could not open URL'; exit; }
> >$contents = fread($fp, 1000000);
> >
> >According to the manual, (http://www.php.net/manual/en/wrappers.php),
with
> >regards to the fopen() and other simialr functions:
>
> I lifted that code and modified slightly the example from Chapter and
> illustration 17.1 of "PHP and MySQL Web Development" by Like Welling and
> Laura Thomson, second edition. I gather from the explanation in the text
> that this is required to define how much content the page may display.
>
> ><Quote>
> >Note: HTTPS is supported starting from PHP 4.3.0, if you have compiled in
> >support for OpenSSL.
> ></Quote>
>
> I'm using 4.4.2 and OpenSSL appears to be enabled.
>
> >So....sure you can get to https:/somepage in your browser, BUT in
PHP, you
> >need to have OpenSSL support enabled in order to use https in an
fopen() call.
> >
> >You might not know what OpenSSL support means, just know that
everyone's PHP
> >engine can be different, and you need this OpenSSL component to do
what you
> >want to do.
>
> So far, I seem to be doing that and I seem to be compliant in all
respects.
> Further advice will be greatly appreciated.
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
>
More information about the talk
mailing list