views:

22

answers:

1

Warning: include(html\download.html) [function.include]: failed to open stream: No such file or directory in /home/jamia/public_html/download.php on line 4 this message is displayed when open any page. it is index page.

+2  A: 

This is most likely because you are not specifying the correct path, make sure that:

  • You are specifying the correct path
  • chmod dir to 755

Rather than:

include (html\download.html)

Try this:

include ('html/download.html')
Sarfraz
it is working wrll at Localhost, and path is right
Aamir
@aamir Fayyaz: Make sure that you have proper dir permissions on server, chmod to 755, try my example as above as well.
Sarfraz
Thanks, Via ur example it is working well
Aamir
@aamir Fayyaz: That's good news then :)
Sarfraz