954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Include Functions problem

hi friends....
I'm getting this type of error n running my program...

Warning: include(include_fns.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 7

Warning: include() [function.include]: Failed opening 'include_fns.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 7

Can Anyone plzz Tell me what this problem is for..?
And also,What should I do to avoid this problem?

surjeetk27
Newbie Poster
2 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
 

are you sure include_fns.php is in same folder as your source file. if not find proper path of that file.

urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270
 

It means that PHP can't find the file specified. Are you pointing to the right file?

minitauros
Junior Poster
109 posts since Apr 2011
Reputation Points: 36
Solved Threads: 17
 

Not sure but if you have written.

include(include_fns.php);

then try below and check.

include('include_fns.php');
vibhaJ
Posting Shark
931 posts since Apr 2010
Reputation Points: 161
Solved Threads: 183
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: