In my htdocs/teq/PHP/Ses.php I have at the top:
Expand|Select|Wrap|Line Numbers
- <?php
- include_once "../PHP/Ses.php";//this is including itself once
- ?>
Warning: include_once(../PHP/Ses.php) [function.include-once]: failed to open stream: No such file or directory in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\teq\PHP\Ses.php on line 2if I change it to "./Ses.php" same error, and ../../teq/PHP/Ses.php and ../../Ses.php and so forth, but just Ses.php works fine
Warning: include_once() [function.include]: Failed opening '../PHP/Ses.php' for inclusion (include_path='.;c:\php\includes;..;C:\Program Files\Apache Software Foundation\Apache2.2\htdocs') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\teq\PHP\Ses.php on line 2
I have another file in teq/ta/Reg/register.php that includes ../../confs.php located at teq/confs.php that works with no error.
How can I solve this without using the full path?