FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Include gives warning
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Include gives warning [message #184310 is a reply to message #184301] Sun, 22 December 2013 15:11 Go to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 21-12-2013 16:36, richard wrote:
> I am attempting to make this work on the home page but the warnings keep
> coming.
> Anything that is echoed returns nothing or zero.
> Because $year is NOT being acquired properly.
> So how do I make it work right?
>


you should have told what warning you get.

But visiting your page revealed it:
Warning: include(http://mroldies.net/artists/artists.php)
[function.include]: failed to open stream: HTTP request failed! HTTP/1.1
404 Not Found in
/home2/richbull/public_html/mroldies.net/artists/index.php on line 16

Googling for '404 Warning: include [function.include]: failed to open
stream: HTTP request failed! ' found other pages with same error here:
http://lcmstarget.tjc.edu/Student/StudentHandbook.php

But this site works:
http://www.tjc.edu/Student/StudentHandbook.php

Some working examples, and the documentation can be found here:
http://www.php.net/manual/en/function.include.php

But you will get a 404 when the page is not found.....
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: when incuding a page
Next Topic: php double form submit prevent
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 04:08:28 GMT 2024

Total time taken to generate the page: 0.03773 seconds