Top "Fsockopen" questions

PHP function used to open (Internet or Unix domain) sockets connections.

php_network_getaddresses: getaddrinfo failed: Name or service not known

Here is a snippet of my code $fp = fsockopen($s['url'], 80, $errno, $errstr, 5); if($fp){ fwrite($fp, $out); fclose($fp); …

php fsockopen
Socket transport "ssl" in PHP not enabled

I'm having trouble enabling the socket transport "ssl" in PHP. When I run my script, I get the error: Warning: …

php ssl iis-6 fsockopen
How to check if a file exists from a url

I need to check if a particular file exists on a remote server. Using is_file() and file_exists() doesn't …

php file curl fsockopen file-exists
Unable to find the socket transport "https"

I'm using this to check for the availability of a URL: $fp = fsockopen($url, 443, $errno, $errstr); and I get this …

php iis fsockopen
PHP Post data with Fsockopen

I am attempting to post data using fsockopen, and then returning the result. Here is my current code: <?php $…

php sockets fsockopen
How do I get SSL working in fsockopen?

I'm running PHP 5.2.6 on Windows, I have extension=php_curl.dll and extension=php_openssl.dll uncommented in php.ini; …

php ssl openssl fsockopen
Reading data from fsockopen using fgets/fread hangs

Here is the code that I am using: if (!($fp = fsockopen('ssl://imap.gmail.com', '993', $errno, $errstr, 15))) echo "…

php fread fgets fsockopen feof
Connecting to WebDAV with PHP?

I'd like to connect to WebDAV using PHP, and be able to upload files, etc. However, I cannot figure out …

php upload webdav fsockopen
fsockopen() how does it actually work?

I am trying to develop a code judge software in PHP for programming assignments. I would try o compile codes …

php sockets fsockopen php-socket
Something faster than get_headers()

I'm trying to make a PHP script that will check the HTTP status of a website as fast as possible. …

php mysql http-status-codes fsockopen get-headers