note 39281 rejected from language.variables.scope by betz
| From: | betz@php.net | Date: | Thu, 22 Jan 2004 20:51:54 +0000 |
| Subject: | note 39281 rejected from language.variables.scope by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64040@lists.php.net to get a copy of this message | ||
Note Submitter: suma dot com
----
with ref to jochen_burkhard at web dot de
29-Mar-2002 09:47
Please don't forget:
values of included (or required) file variables are NOT available in the local script if the
included file resides on a remote server:
remotefile.php:
<?PHP
$paramVal=10;
?>
localfile.php:
<?PHP
include "http://otherserver.com/remotefile.php";
echo "remote-value= $paramVal";
?>
Will not work (!!)
ya , its not working, then how can we access a variable from the included file.
is there any other way to access a variable resides on a remote machine in the local script?
if anyone knows please let me know
thanks.