The leader wants me to plan a webpage design contest and the Flash creation contest, the request must realize the on-line registration and the uploading work. I realized the requirement through FREEBSD+APACHE+PHP+MYSQL+FTP.
The idea of online
PHP interview question (2) 1. please compare the main functions of POSIX and Perl-compatible regular expressions
Ereg preg_match
Ereg_replace preg_replace
2. explain the impact of safe_mode on php system functions in PHP. ini.Safe_mode is a
Php sends xml in the form of post
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, see
This example describes how php sends xml in
xml.class.php File Code
Copy the Code code as follows:
* Example Read data:** $xml = new XML ("Dbase.xml", ' table ');** $data = $xml->xml_fetch_array ();** echo "
";** Print_r ($DATA);*Class XML{var $dbase; database, the XML file to readvar
If you cannot install IMAIL on the server, you can only send emails through socket. However, if you are lucky, you can use 163/sina'sSmtp service.The routine is as follows (the original program is provided by Ma Yixiong ): Mail Form anywhere If ($
Php method of sending XML as Post
This article mainly introduces the PHP method of sending XML in post form, including curl and Fsockopen two methods, with good reference value, the need for friends can refer to the following
This example
The idea of online registration and uploading works is to use Web Forms to collect data from users to be stored in the MySQL database, and to create an FTP upload account with the user's registration name and create a corresponding directory for the
Tencent:1. Explain the main functions of both POSIX-style and Perl-compliant regular expressions
Ereg Preg_match
Ereg_replace Preg_replace
2. Please explain the effect of safe_mode on PHP system functions after php.ini
3. What are some of
Fsockopen
to Socket Way to open a connection
my most common use is simulation. Post
this is from Xiao Li's excavation. ... Good
as to the simulation Get Way .... Direct file_get_content it's okay. .
Code See back
There are a lot of input and output functions in Linux and UNIX, and sometimes it really makes the rookie who wants to have a little bit of a relationship at their wits ' end. First to see what functions, through the analysis and summary, to see if
You can use the following functions to implement:
function Posttohost ($url, $data) {
$url = Parse_url ($url);
if (! $url) return "couldn ' t parse url";
if (!isset ($url [' Port ']) {$url [' port '] = "";}
if (!isset ($url [' query ']) {$url ['
With the load post in jquery and so on, I can't get the results I want! So suddenly-----all the things I think about these days, and now I have to.
Now you want to submit the data to the specified page in PHP, you should have it, and you can have a
1. Use the Mail () function
Nothing to say, is to use the system's own SMTP system to send, is generally used sendmail to hair. This varies according to each system. Use the reference manual.
2. Use the form of piping
The test was successful
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
I recently took over a case and demanded that you register online and upload files.
PHP remote file download class (supports resumable upload ). PHP remote file download class, supports resumable download, the code contains specific call instructions. The program uses the HTTP protocol to download files. the HTTP1.1 protocol must
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.