note 39281 added to language.variables.scope
| From: | sumadotcom at rn2 dot php dot net | Date: | Thu, 22 Jan 2004 20:28:37 +0000 |
| Subject: | note 39281 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64039@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/language.variables.scope.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39281
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39281&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39281&report=yes
Search -- http://master.php.net/manage/user-notes.php