note 125445 added to function.include
| From: | Flo@php.net | Date: | Tue, 20 Oct 2020 11:56:10 +0000 |
| Subject: | note 125445 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215620@lists.php.net to get a copy of this message | ||
Example #3 is confusing, I tested it and its not like that when the php script gets interpreted at
source.
include 'http://www.example.com/file.php?foo=1&bar=2';
Variables $foo and $bar are not available in file.php, they are in the $_GET param.
I got a little scared when I read the example but I thought it cant be possible, its not phew. Maybe
its left over from the register globals days.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.174 (proxied: 5.15.36.65)
----
Manual Page -- http://php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/125445
Del: integrated -- https://master.php.net/note/delete/125445/integrated
Del: useless -- https://master.php.net/note/delete/125445/useless
Del: bad code -- https://master.php.net/note/delete/125445/bad+code
Del: spam -- https://master.php.net/note/delete/125445/spam
Del: non-english -- https://master.php.net/note/delete/125445/non-english
Del: in docs -- https://master.php.net/note/delete/125445/in+docs
Del: other reasons-- https://master.php.net/note/delete/125445
Reject -- https://master.php.net/note/reject/125445
Search -- https://master.php.net/manage/user-notes.php