Jump to content

include problem


psychohagis

Recommended Posts

I have this on a page:

[code]include '../includes/clean_var.inc.php';[/code]

but when I run this i get told the following:

[quote]Warning: main(../includes/clean_var.inc.php): failed to open stream: No such file or directory in /home/fhlinux178/b/MYSITE.org.uk/user/htdocs/members/messages/delete.php on line 4

Warning: main(../includes/clean_var.inc.php): failed to open stream: No such file or directory in /home/fhlinux178/b/MYSITE.org.uk/user/htdocs/members/messages/delete.php on line 4

Warning: main(../includes/clean_var.inc.php): failed to open stream: No such file or directory in /home/fhlinux178/b/MYSITE.org.uk/user/htdocs/members/messages/delete.php on line 4

Warning: main(): Failed opening '../includes/clean_var.inc.php' for inclusion (include_path='.:/usr/share/pear') in /home/fhlinux178/b/MYSITE.org.uk/user/htdocs/members/messages/delete.php on line 4
[/quote]

I dont understand why this does not work becuase I have the following on another page:
[code]include '../includes/content_formatting.inc.php';[/code]

and that works
Link to comment
https://forums.phpfreaks.com/topic/33637-include-problem/
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.