I'm a little upset today. I 'd like to write an article about the data of php fsockopen post. We can imitate it and send it to the other server. If you need it, check it out.
The Code is as follows:
Copy code
POST/Target
// Book
Program This is a copy of the materials for parsing the NPC.
Article Dedicated to databases.
// Editor: Kong xiuxiang. Date: 2001/4/10
Switch ($ position ){
Default:
Session_start ();
If (! Isset ($ auth_passed )){
Echo "this function can
Method 1: HTTP function sending Method
Description: $ data is the data sent by POST. $ key is the parameter name and $ val is the parameter value.
[Php]View plaincopy
$ URL = "http://pre.payment.sdoa.sdo.com /";
$ Data = $ key1. "=". val1. "&". $
Some people often ask questions about simulated login. In fact, the principle is very simple. you just need to save the SessionID. Today, it took an hour to write a function for your reference, the header information returned by the website. Source
Tencent has an http qq interface in 8000 of tqq.tencent.com. through this interface, you can perform some basic operations, such: login, logout, change login status (online, busy, offline, invisible), add and delete friends, view friends information,
You can use the following functions: functionposttohost ($ url, $ data) {$ urlparse_url ($ url); if (! $ Url) returncouldntparseurl; if (! Isset ($ url [port]) {$ url [port];} if (! Isset ($ url [query]) {$ url [query] ;}$ encoded; while (list ($ k,
In this case, network radio may need to transmit the same data to tens of thousands of users at the same time, which is certainly unreasonable if it is transmitted once per user in the form of transmission we have previously spoken. Therefore,
This article mainly introduces php's method of sending xml in the form of post, including curl and fsockopen, which has good reference value, for more information about how php sends xml data in post format, see the following example. Share it with
This article mainly introduces php mail sending methods in various forms, including using the mail () function, using the pipeline, and using the phpmailer class. use the mail () function
There is nothing to mention, that is, sending via the system'
You can use the following functions to post data from one php file to another without using forms or hidden variables:
Function posttohost ($ url, $ data ){
$ Url = parse_url ($ url );
If (! $ Url) return "couldn't parse url ";
If (! Isset ($ url [
Php sends emails in multiple forms (the phpmailer class in the mailqmail mail system ). 1. there is nothing to say about using the mail () function, that is, using the system's built-in smtp system for sending, generally using sendmail for sending.
This article mainly shares the php remote download class. Users can download files to the host. interested friends can refer to the examples in this article to share the php remote download class as follows:
m_url = $ url; if (is_array ($ urls ))
I recently took over a case and demanded that you register online and upload files. I have implemented this requirement through FreeBSD + Apache + PHP + Mysql + FTP. The idea of online registration and file upload is to use web forms to collect user-
Some people often ask questions about simulated login. In fact, the principle is very simple. you just need to save the SessionID. Today, it took an hour to write a function for your reference.
Some people often ask questions about simulated login.
This article introduces, in PHP, to implement some of the methods and code to download files, including system function calls, wget, and socket connection mode download files. If you need a friend, make a reference.In PHP to implement the download
This article mainly introduces the PHP input stream php: input example, for example, the input stream php: input for in-depth learning, interested friends can refer to the introduction of php: // input, the official PHP Manual provides a clear
This article mainly introduces php's method of sending xml in the form of post, including curl and fsockopen, which has good reference value, for more information about how php sends xml data in post format, see the following example. Share it with
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.