Jump to content

[SOLVED] include not working


M.O.S. Studios

Recommended Posts

hey guys i need to incude something in a lower directory

 

this is what i typed

include("../1.php");

 

it gave me this error

 

Warning: include(../1.php) [function.include]: failed to open stream: No such file or directory in /home/montrea1/public_html/demo/admin/content/catagory/add.php on line 26

 

Warning: include() [function.include]: Failed opening '../1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/montrea1/public_html/demo/admin/content/catagory/add.php on line 26

 

any ideas?

 

thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/139611-solved-include-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.