|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-08 04:35 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 11:00:01 2025 UTC |
Description: ------------ The 'include' function ignores the query string, and seems to think it is part of the filename, thus, when I attempt to include a file with a query string included, it says the file does not exist. When the query string is removed, it works. Reproduce code: --------------- include('somepage.php'); //Works fine include('somepage.php?banner=1'); //Doesn't work Expected result: ---------------- Inclusion of the file, with the url recieving the query string normally. Actual result: -------------- It will output a "cannot find file or directory" warning.