strange require_once dont load file.
Posted: Tue Jan 15, 2008 1:06 pm
Hello,
I have a strange problem I work on windows system.
I have files and Folders in my project like this
root(folder) - auth(folder) - validate.php
- includes - include.php
in validate.php i need to load include.php so I have there a code
this should work bcs it works well in other project but here it dont work
when I load validate.php in browser it should load include.php and write onscreen "Hello, world" but nothing happens
So I am asking if someone know what should be the problem?
thx to all replies
I have a strange problem I work on windows system.
I have files and Folders in my project like this
root(folder) - auth(folder) - validate.php
- includes - include.php
in validate.php i need to load include.php so I have there a code
Code: Select all
<?php
require_once('../includes/include.php');
echo "Hello, world";
?>
when I load validate.php in browser it should load include.php and write onscreen "Hello, world" but nothing happens
So I am asking if someone know what should be the problem?
thx to all replies