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 work. Any ideas how to do this quickly and easily?You don\'t need CURL for tha[详细]
2023-04-11 22:20 分类:问答how to open a socket in php
I am completely new to sockets and not that familiar with the concept. I am planning on making a phone application f开发者_开发问答or chatting. now I was told that if you open a socket you can push re[详细]
2023-04-07 06:20 分类:问答PHP fread hangs when using SSL
I\'m using fsockopen to connect to an OpenVAS manager and send XML. The code I am using is: $connection = fsockopen(\'ssl://\'.$server_data[\'host\'], $server_data[\'port\']);[详细]
2023-04-06 05:25 分类:问答Why is this code not working in a new file?
I have written/found a php script and I don\'t understand why it\'s working one time and the other time it doesn\'t. The script connects to a game server and tries to get information from it:[详细]
2023-04-05 03:08 分类:问答I need to go through a proxy, (from a running fsockopen code that gets the size from a remote video file)
I\'ve a PHP running code that ask the file size 开发者_如何学Pythonof a remote mp4 file, thanks to a fsockopen function and HEAD command.[详细]
2023-04-02 05:48 分类:问答How do I pass session to new socket via fsockopen?
I need to pass the session to an asynchronous call via fsockopen in php. Can you help me pass the session to the new socket?[详细]
2023-04-02 03:18 分类:问答how to put the result in a text file?
the code: if ($conn = fsockopen (\"whois.crsnic.net\", 43)) { fputs($conn, $domain.\"\\r\\n\"); while(!feof($conn)) {[详细]
2023-03-31 17:50 分类:问答problem communicating with gmail imap server using fsockopen in php
i m able to communicate using the imap functions in php and also using the openssl from commandline ,i just wanted to try this doing fsockopen() in php.[详细]
2023-03-31 08:01 分类:问答PHp fsockopen() communicating via Telnet
I\'m looking for a guide on how to use fsockopen() to communicate with a telnet system.... I\'m connected just fine, but the command is failing to send.I\'ve seen some documentation fwrite() that show[详细]
2023-03-28 21:55 分类:问答Sessions in programmatically requested pages
After doing some research on this issue, I couldn\'t find any satisfying fix. The problem is: I\'m performing a GET request programmatically. The request itself works fine and the requested page does[详细]
2023-03-28 00:10 分类:问答