Blank Page =(
View Single Post
03-08-2008, 09:39 AM
Join Date: Nov 2007
If when you say the file you're including is "external", meaning it's a URL, then yes. Check for the '
' and '
' settings on that host. See the PHP manual entry for
using remote files
If you have no control over the matter, you might look at using
the cURL extension
I also recommend you get into the habit of using
rather than include in almost every case. Why? Because the
or require_once() functions ensure that each file is only included once, so no recursion, and the require_once() (or
) adds the benefit of killing the script if the file isn't included.
Using the '@' error suppression symbol at the beginning of include() is a bit redundant - depending on your error_reporting setting, it will usually fail silently every time.
I reject your reality, and substitute my own.
The Following User Says Thank You to SOCK For This Useful Post:
View Public Profile
Send a private message to SOCK
Find More Posts by SOCK