Re: problem with using include to a URL
| From: | Tim Wolgemuth | Date: | Wed, 01 Sep 2004 15:15:00 +0000 |
| Subject: | Re: problem with using include to a URL | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195408@lists.php.net to get a copy of this message | ||
This is the way that the customer waits to do it. Here is the sample code that is being included:
<?
print "this is a test2<BR>";
?>
Tim
John Holmes wrote:
From: "Tim Wolgemuth" <tim-list@wolgemuth.cc>We do have "allow_url_fopen" set to be on. I can not find any docs. on "allow_burl_fopen". Was that a typo or where can I find info for that variable?sorry, that was a typo. Apparently my spell checker thinks "burl" is a better word than "url". :)PHP is working fine if we do the includes like this: include '/somepath/somefile.php'; The URL that we are trying to get to is on the same box. If I am on that box I can use a text browser to it see the file that I am trying to include.So is there any reason you're not using the above method? You realize that by including it through HTTP, you're only getting the _result_ of the PHP file? If you're PHP file does not produce any output, maybe that's the source of this problem... ---John Holmes...