PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: main() їfunction.main]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/.sites/14/site467/web/illustration/ill_one.php on line 2
Warning: main(http://www.distortedmedia.co.uk/illustration/template.php) їfunction.main]: failed to create stream: Resource temporarily unavailable in /home/.sites/14/site467/web/illustration/ill_one.php on line 2
Fatal error: main() їfunction.main]: Failed opening required 'http://www.distortedmedia.co.uk/illustration/template.php' (include_path='') in /home/.sites/14/site467/web/illustration/ill_one.php on line 2
Is this a server problem, or something I could correct?
The server path previously was also
experiencing this problem, so in desperation I put a full URL in it's place.
The template file is on my server - like I said, sometimes it works, sometimes it doesn't - I thought it must be a bit of dodgy php script by me, but I have other sites with the same piece of code without any problem?
Just tried this and it works..............
I understand that
$BasePath = str_repeat
assigns a variable that repeats...
however what does this refer to?
Why script name?
I have not heard of this before?
("../", substr_count(dirname($_SERVER["SCRIPT_NAME"]), "/"));