note 68402 added to function.include

From: Date: Tue, 25 Jul 2006 18:41:03 +0000
Subject: note 68402 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-115167@lists.php.net to get a copy of this message
Any idea how to return value from the remotely included file ?? <?php $foo = include 'http://www.abc.com/gui/return.php'; echo $foo; // should prints 'PHP' but prints 1 $bar = include 'http://www.abc.com/gui/noreturn.php'; echo $bar; // prints 1 ?> what i am missing ??? ---- Server IP: 203.220.0.234 Probable Submitter: 203.187.132.67 (proxied: 10.203.139.67) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- http://master.php.net/note/edit/68402 Del: integrated -- http://master.php.net/note/delete/68402/integrated Del: useless -- http://master.php.net/note/delete/68402/useless Del: bad code -- http://master.php.net/note/delete/68402/bad+code Del: spam -- http://master.php.net/note/delete/68402/spam Del: non-english -- http://master.php.net/note/delete/68402/non-english Del: in docs -- http://master.php.net/note/delete/68402/in+docs Del: other reasons-- http://master.php.net/note/delete/68402 Reject -- http://master.php.net/note/reject/68402 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#115167) next »