php_network_getaddresses()
| From: | Stanislav Skrypnik | Date: | Mon, 13 Jan 2003 02:36:10 +0000 |
| Subject: | php_network_getaddresses() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131384@lists.php.net to get a copy of this message | ||
Hi all,
I have the problem with this peace of code.
This code has to include file containing some Javascript functions.
<?
//my_file.php
define ("PATH", "http://mysite/");
$javascript=PATH."inc/javascript_functions.js";
include ($javascript);
?>
When I run this I got message:
"Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in
name resolution in /physical/location/inc/my_file.php on line 5
Warning: Failed opening 'http://mysite/inc/javascript_functions.js'
for
inclusion (include_path='.:/php/includes:/usr/share/php') in
/physical/location/inc/my_file.php on line 5"
I was trying to find info about php_network_getaddresses() but no luck.
Any help would be very appreciated.
Stas.