Getting http:// include to return?
| From: | Leif K-Brooks | Date: | Fri, 07 Jun 2002 03:08:56 +0000 |
| Subject: | Getting http:// include to return? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101068@lists.php.net to get a copy of this message | ||
I'm trying to make a script that people using PHP can get information from my site from by including it. They would do something like:
$var = include("http://mydomain.com/infoscript.php?infotoget=info1"); //returns "This is info 1."
Is there anything I can do in my script to make return() work even though they're not loading it locally?