1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Support for the fsockopen() function
Yes, this function is available to all internal and local URLs for your site. The socket_create() function isn't accessible because it depends on a socket extension which isn't installed on our shared servers.
Please check your code carefully to ensure that the return handle for fsockopen has been defined properly, as without it, you run the risk of creating an infinite loop.
If you have to load external URLs, or on ports other than port 80, you need to send us a special request containing the destination IP as well as the required port and explain briefly what you need. Our system administrators will analyse your request and if an exception is possible, it will be installed on the server and our support will notify you immediately. This is necessary since we filter all incoming/outgoing traffic on our servers in our daily efforts to fight spam and attempted security breaches.
IMPORTANT: We apply rules only for IP addresses.
Make sure you activate allow_url_fopen parameter to correctly use the fsockopen() function.