There is an error in fileopen ($url) on the server. How can I solve it?

the error message is:

Warning: file_get_contents (): php_network_getaddresses: getaddrinfo failed: Name or service not known

it is accessible to access the url directly in the local browser, and the domain name ping is also accessible in the server, that is, file_get_contents () reports an error. What is the reason and how to solve it?

Php
Feb.28,2021

the error of ping this url, is caused by the invalid url you entered.
it may also be a problem with the dns server.


is it a file permission problem

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9fedf-1a91.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9fedf-1a91.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?