Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...