ID:               46431
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at vlantana dot lt
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows XP
 PHP Version:      5.2.6
 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.




Previous Comments:
------------------------------------------------------------------------

[2008-10-30 15:02:51] info at vlantana dot lt

Description:
------------
Hello
I upgrade server and PHP from 4.1 to 5.26.
The script with include(../scripts.php) files on webpage is working OK.
But the same script from command line doesn't work.
As i understood from command line there has to be absolute path, like
c:/directory/script.
On version 4.1 I used relative path.

Reproduce code:
---------------
<?
ini_set('display_errors', 1); 
error_reporting(E_ALL);
include'../vl_web/vl_conn.php';
?>



Expected result:
----------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\PHP>c:\php\php.exe -q c:\web\tmp\in.php
#C:\PHP#PHP Warning:  include(../vl_web/vl_conn.php): failed to open
stream: No
such file or directory in C:\web\tmp\in.php on line 6

Warning: include(../vl_web/vl_conn.php): failed to open stream: No such
file or
directory in C:\web\tmp\in.php on line 6
PHP Warning:  include(): Failed opening '../vl_web/vl_conn.php' for
inclusion (i
nclude_path='.;C:\php5\pear') in C:\web\tmp\in.php on line 6
Warning: include(): Failed opening '../vl_web/vl_conn.php' for
inclusion (includ
e_path='.;C:\php5\pear') in C:\web\tmp\in.php on line 6

C:\PHP>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46431&edit=1

Reply via email to