note 63944 added to function.include

From: Date: Tue, 04 Apr 2006 14:21:09 +0000
Subject: note 63944 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-107293@lists.php.net to get a copy of this message
hi there! here's what i found. say we have a file configure.php <?php $a = 'some text'; ?> and another file test.php that includes the first file. both files are located in the same dir (in the root dir) if test.php is <?php include('http://localhost/configure.php'); echo $a; //output is nothing ?> if test.php is <?php include('configure.php'); echo $a; //output is 'some text' ?> ---- Server IP: 212.93.155.36 Probable Submitter: 193.239.172.2 ---- 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/63944 Del: integrated -- http://master.php.net/note/delete/63944/integrated Del: useless -- http://master.php.net/note/delete/63944/useless Del: bad code -- http://master.php.net/note/delete/63944/bad+code Del: spam -- http://master.php.net/note/delete/63944/spam Del: non-english -- http://master.php.net/note/delete/63944/non-english Del: in docs -- http://master.php.net/note/delete/63944/in+docs Del: other reasons-- http://master.php.net/note/delete/63944 Reject -- http://master.php.net/note/reject/63944 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107293) next »