slick Posted March 14, 2006 Posted March 14, 2006 Hi. I'm trying to "open" a url in the background when users click the send button of a form. I use the file() function in php to do it. Recently it has stopped working and I start getting this error as shown below: Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mydomain/public_html/sms/sms.php on line 204 Warning: file("the_url_i'm_trying_to_open_in_the_background"); failed to open stream: Permission denied in /home/mydomain/public_html/sms/sms.php on line 204 "the_url_i'm_trying_to_open_in_the_background" Does anyone know how to fix this? Thanks. Quote
TCH-JimE Posted March 14, 2006 Posted March 14, 2006 Hello, If it has suddenley stopped working, and you havent changed a thing, contact support and open up a support desk ticket. Your message is telling you that you do not have permission to open that file, so I suggest you check all your permissions. JimE Quote
slick Posted March 14, 2006 Author Posted March 14, 2006 Ok it seems something is wrong with my fsockopen() as well so it might be something to do with my account. I opened the support ticket to see if it can be fixed from there. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.