PHP function used to open (Internet or Unix domain) sockets connections.
Questions tagged [fsockopen]
382 questions
-1
votes
3 answers
Sending mail via fsockopen?
I know this is possible, but can I do without a remote SMTP server or the like? Basically I want to send mail with PHP, but without mail()

Rob
- 7,980
- 30
- 75
- 115
-1
votes
1 answer
PHP - login into https website and get a html file within that session
I have a parser for a html page which return a dynamic ics file to use with google calendar. It works fine with the simple_html_dom library and with the file_get_contents while using a local html file for test.
however the page I need to parse is on…
-1
votes
1 answer
How to make a HTTP request to a REST service in PHP?
I was wondering if anyone could help me understand how I would go about getting the JSON back using this information? Should I use cURL or fsockopen?
GET /market/10000002/orders/buy/?type=https://api-sisi.testeveonline.com/types/683/ HTTP/1.1
Host:…

Waq
- 51
- 8
-1
votes
1 answer
IRC login with authentication send to NICKSERV if loggin try echo connected?
Here is my code
…

user2328538
- 1
- 2
-1
votes
2 answers
Connecting to EPP Server from local system
I am using fsock open to connect to epp server but its failing. Below is my code:(I have given wrong input values here.)
$whoisserver = "epp-test.verisign-grs.net";
$port = 123;
$timeout = 40;
$fp = @fsockopen($whoisserver, $port, $errno, $errstr,…
user1871586
-2
votes
1 answer
Can't connect to WebSocket server with fsockopen
Please, help me to connect WebSocket with php.
I try this code, but I've got 400 Bad Request
$fp = fsockopen("cs.money", 443, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)
n"; } else { $out = "GET / HTTP/1.1rnrn"; …
n"; } else { $out = "GET / HTTP/1.1rnrn"; …

Mike Reacher
- 7
- 6
-2
votes
1 answer
PHP - connect to switch and get its config data
I need to connect to (3Com) switch (via SSH and Telnet) on server and get its configuration data with PHP code.
I'm already connecting to the switch, now I just don't know how to get its configuration data into database.
My current code:

smbdy
- 95
- 1
- 7