Author: Armel Fauveau
Original address: Http://www.phpbuilder.net/columns/armel20010427.php3
PHP can open a remote or local server sockets! Here is a simple example of using sockets: Connect to a Usenet news server, communicate with the server, and download some articles from an accurate newsgroup.
Open the socket with PHP
Use Fsockopen () to open a socket. This function is present in both PHP3 and PHP4. The prototype of the function is as follows:
Author: Armel FauveauOriginal address: Http://www.phpbuilder.net/columns/armel20010427.php3Translator: Liqiang feifengxlq@gmail.comHttp://www.phpobject.net/blog/PHP can open remote or local server sockets! Here is a simple example of using a socket: Connect to Usenet news server, communicate with the server, and download some articles from an accurate news group.Open the socket using PHPUse Fsockopen () to open a socket. This function is present in bo
Author: Armel Fauveau
Original address: Http://www.phpbuilder.net/columns/armel20010427.php3
PHP can open remote or local server sockets! Here is a simple example of using a socket: Connect to Usenet news server, communicate with the server, and download some articles from an accurate news group.
Open the socket using PHP
Use Fsockopen () to open a socket. This function is present in both PHP3 and PHP4. The prototype of the function is as follows:
Get Files in PHP fsockopen () us.netOpen socketUse Fsockopen () to open a socket. This function is present in both PHP3 and PHP4. The prototype of the function is as follows:
Intfsockopen(String hostname,int port [,int errno [,String Errstr [,Double timeout]]]?> for a network host, it will establish a TCP socket connected to the host name of the port. The host name can be a domain name or an IP address. For UDP connections, you need to explicitly indicate their protocol: Udp://hostname. For UN
Use Sockets in PHP: get files from Usenet. Author: ArmelFauveau original address: www. phpbuilder. netcolumnsarmel20042527.php3 translator: Xu Liqiang feifengxlq@gmail.comwww.phpobject.netblogPHP can open remote
Author: Armel FauveauAddress: http://www.phpbuilder.net/columns/armel20010427.php3Xu Liqiang feifengxlq@gmail.comHttp: // www.phpobject.net/blog/
PHP can enable sockets on a remote or local server! Here is a simple example of using socket: co
Author: Armel FauveauAddress: http://www.phpbuilder.net/columns/armel20010427.php3Xu liqiang feifengxlq@gmail.comHttp: // www.phpobject.net/blog/
PHP can enable sockets on a remote or local server! Here is a simple example of using socket: connect to the Usenet news server, communicate with the server, and download some articles from a precise news group.Use PHP to open a SocketUse fsockopen () to open a Socket. This function exists in both PHP3 and P
Author: Armel FauveauAddress: http://www.phpbuilder.net/columns/armel20010427.php3PHP can enable sockets on a remote or local server! Here is a simple example of using socket: connect to the Usenet news server, communicate with the server, and download some articles from a precise news group.Use PHP to open a SocketUse fsockopen () to open a Socket. This function exists in both PHP3 and PHP4. The function prototype is as follows:Intfsockopen(String ho
Author: Armel Fauveau
Address: http://www.phpbuilder.net/columns/armel20010427.php3
PHP can enable sockets on a remote or local server! Here is a simple example of using socket: connect to the Usenet news server, communicate with the server, and download some articles from a precise news group.
Use PHP to open a SocketUse fsockopen () to open a Socket. This function exists in both PHP3 and PHP4. The function prototype is as follows:
Intfsockopen(Stri
PHP can open a remote or local server sockets! Here is a simple example of using sockets: Connect to a Usenet news server, communicate with the server, and download some articles from an accurate newsgroup.
Open the socket with PHP
Use Fsockopen () to open a socket. This function is present in both PHP3 and PHP4. The prototype of the function is as follows:
intfsockopen (string hostname, int port[, int errno[, string errstr[, dou
For other Usenet
Article Is to use Outlook Express for newsgroups. In fact, many email clients, such as Thunderbird and Windows Live Mail, can use the above newsgroups. However, these clients are not professional newsgroup clients, so it is necessary to introduce some clients specially designed for newsgroups.
(1) xpn
It is written in Python + GTK, So in principle, it can be run on many platforms.
(2) Pan
It can run on UNIX and Unix-like, Mac OS X, a
If you often leave a footprint on USENET, you may receive a lot of spam. Many spam Manufacturing
Program Will automatically collect the email addresses in the news group and send a considerable number of spams. To solve this problem, you only need
Article .
The most common method is to disguise your email address! You can add extra letters, numbers, and phrases to your email address. These letters, numbers, and phrases used to disguise the email add
This is actually a fairly common question and not one that is often addressed adequately. the following is the, slightly edited text of a reply sent by Howard Rogers www.dizwell.com to someone who asked this exact question. the post is so good, that with Howard's permission I reproduce it here. the 'where' referred to below is the Usenet Group Comp. databases. oracle. server which can be reached via the link on the left or via your favorite
because there may be more than one user requesting a connection. This is called I/O multiplexing technology in implementation.
I/O multiplexing technology is not the content of this article to be described, if interested please refer to the relevant books.
5.2. A web-based newsgroup browser
You can use Fsockopen to open a TCP socket connection in PHP
int Fsockopen (string hostname, int port [, int errno [, String errstr [, double timeout]]]
Refer to the PHP manual for the use of this function.
PHP can open a socket port on a remote or local host. This article is a small example of using a socket: Connect to a Usenet newsgroup server, talk to the server, and download some articles from the newsgroup.
Open a socket in PHPUse Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. The function declaration is this:
int Fsockopen (string hostname, int port _[, int errno [, String errstr [, double timeout]]]
This function
PHP can open a socket port on a remote or local host. This article is a small example of using a socket: Connect to a Usenet newsgroup server, talk to the server, and download some articles from the newsgroup.
Open a socket in PHPUse Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. The function declaration is this:
int Fsockopen (string hostname, int port _[, int errno [, String errstr [, double timeout]]]
This function
PHP can open a socket port on a remote or local host. This article is a small example of using a socket: even
Get a Usenet newsgroup server, talk to the server, and download some articles from the newsgroup.
Open a socket in PHP
Use Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. function declaration
That is true:
int Fsockopen (string hostname, int port [, int errno [, String errstr [, double timeout]])
This function
PHP can open a socket port on a remote or local host. This article is a small example of using sockets: Connect to a Usenet newsgroup server, talk to servers, and download articles from newsgroups.
Open a socket in PHPUse Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. The function declaration is this:
int Fsockopen (string hostname, int port _[, int errno [, String errstr [, double timeout]]]
This function will open a
PHP can open a socket port on a remote or local host. This article is a small example of using a socket: even
Receive a Usenet newsgroup server, talk to the server, and download articles from newsgroups.
Open a socket in PHP
Use Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. function declaration
That is true:
int Fsockopen (string hostname, int port [, int errno [, String errstr [, double timeout]]]
This function will
PHP can open a socket port on a remote or local host. This article is a small example of using sockets: Connect to a Usenet newsgroup server, talk to servers, and download articles from newsgroups.
Open a socket in PHP
Use Fsockopen () to open a socket. This function can be used in both PHP3 and PHP4. The function declaration is this:
int Fsockopen (string hostname, int port _
[, int errno [, String errstr [, double timeout]]]
This function wil
multiplexing technology is not the content of this article to be described, if interested please refer to the relevant books.
5.2. A web-based newsgroup browserYou can use Fsockopen to open a TCP socket connection in PHPint Fsockopen (string hostname, int port [, int errno [, String errstr [, double timeout]]]Refer to the PHP manual for the use of this function.To access the newsgroup service, you need to use a protocol called NNTP, that is, network news Transfer Protocol.This protocol has a d
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.