#43317 [Opn->Bgs]: Changed on include
| From: | scottmac@php.net | Date: | Sat, 17 Nov 2007 13:30:30 +0000 |
| Subject: | #43317 [Opn->Bgs]: Changed on include | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119766@lists.php.net to get a copy of this message | ||
ID: 43317
Updated by: scottmac@php.net
Reported By: jcastromail at yahoo dot es
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Windows XP sp2
PHP Version: 5.2.5
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
\t is a tab character.
Previous Comments:
------------------------------------------------------------------------
[2007-11-17 13:04:27] jcastromail at yahoo dot es
Description:
------------
Hi there:
In *WINDOWS*, function include fail when i try :
include("include\test2.php");
but works with : (take note on \ and / symbol)
include("include/test2.php");
include("include\\test2.php");
This error started when i installed the latest version.
I don't sure if the use of folder\file is a bad practice or not but i
don't find this change on the documentation.
Reproduce code:
---------------
file test.php
<?php
include("include\test2.php");
?>
file test2 on folder include
<?
echo "include!!\n";
?>
Expected result:
----------------
include!!
Actual result:
--------------
[17-Nov-2007 09:56:35] PHP Warning: include() [<a
href='function.include'>function.include</a>]: Failed opening
'include est2.php' for inclusion (include_path='.;C:\php5\pear') in
C:\ats\fum\test.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43317&edit=1