php include page
Posted by: Flash Buddy (---.hsd1.co.comcast.net)
Date: September 13, 2007 05:25PM

Local host php page errors when it calls a url. If it is a relative path there is no problem:
include(http://somedomain.com/somepath/headerCode.inc)
Generates this abbreviated error:
include(http://,mydomain.com/headerCode.inc) [function.include]: failed to open stream: no suitable wrapper could be found in...
Whereas this works fine:
include(./somepath/headerCode.inc)

--Flash



Flash

Larry 'Flash' Alexander
[hqcode.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.