From:             gilthans at gmail dot com
Operating system: Windows XP IIS
PHP version:      4.3.11
PHP Bug Type:     Directory function related
Bug description:  Include ignores query string

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.

-- 
Edit bug report at http://bugs.php.net/?id=32975&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32975&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32975&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32975&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32975&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32975&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32975&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32975&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32975&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32975&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32975&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32975&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32975&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32975&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32975&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32975&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32975&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32975&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32975&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32975&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32975&r=mysqlcfg

Reply via email to