I have a small problem...
I'm making a require statement in a .php file, which is lying in a directory.
The file, that i require is lying one directory back.
When I call it I do this. :
[tt]require "../kategorier.php";[/tt]
When I wan't to see the page, it comes with the following error code:
[tt]Warning: Unable to access kategorier.php in /home/ on line 4[/tt]
I've tried to change the attributes om the file to 777 or rwxrwxrwx. Then I should have all the rights on the file which is possible. But it just came up with the same error code. Then I tried to write the full adress to the file, but the same.
I know that it's finding the file, because if I write some wrong link in the require statement, it comes with another error code.
How can I get my php file??
Thanks.
Venlig hilsen
Dennis A Jensen
Machine code Rocks
I'm making a require statement in a .php file, which is lying in a directory.
The file, that i require is lying one directory back.
When I call it I do this. :
[tt]require "../kategorier.php";[/tt]
When I wan't to see the page, it comes with the following error code:
[tt]Warning: Unable to access kategorier.php in /home/ on line 4[/tt]
I've tried to change the attributes om the file to 777 or rwxrwxrwx. Then I should have all the rights on the file which is possible. But it just came up with the same error code. Then I tried to write the full adress to the file, but the same.
I know that it's finding the file, because if I write some wrong link in the require statement, it comes with another error code.
How can I get my php file??
Thanks.
Venlig hilsen
Dennis A Jensen
Machine code Rocks