Re: [PHP-DB] How can you include an https? From: Paul Burney (paul.lists <email protected>)
Date: 07/30/02

on 7/30/02 9:10 AM, Camelia Enderby at cami <email protected> appended the following
bits to my mbox:

> Just stumble on this problem. I need to be able to include a file from another
> server into one of my script. Not to difficult except that the file is on a
> secure server and it doesn't seem to work.
> Anybody knows of a way around.
> I have php 4 running on Red Hat with mysql databse.

Not related to databases, so it should be on PHP General....

That said, unless something's changed recently, you *cannot* do this with
just an include or fopen call. One option is to use the CURL functions:

<http://php.us.themoes.org/manual/en/ref.curl.php>

I'd suggest looking for an RPM that has them included.

Sincerely,

Paul Burney
<http://paulburney.com/>

<?php
    while ($self != "asleep") {
        $sheep_count++;
    }
?>

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