Apart from his typo where he uses chmod instead of chdir, I think the OP has a valid question which deserves an answer.
In the entire history of php creation, people have been able to include a file from another directory. only in vb is one required to move the mountain and change to the directory where the include lives.
This is the question being asked. The OP is not asking what does chdir mean or what does chmod mean, he wants to know what is so special about global.php that it requires chdir.
|