Phpexcel, the operation of Excel is very convenient, especially can easily add pictures, support jpg gif png format.
Download Address: Http://www.codeplex.com/PHPExcel
Here is a summary of several ways to use
Include ' phpexcel.php ';Include '
The first thing to know about SQL statements $SQL = "Delete from ' Bkjia ' where ID in (1,2,4)";
The form is probably:
PHP functions are mainly used in implode
$ID _dele= implode (",", $_post[id_dele]);
$SQL = "Delete from ' user ' where ID in ($ID _
Jpgraph this powerful drawing component can draw arbitrary graphics based on the needs of the user. Simply provide the data, you can automatically call the process of the drawing function, the processing of data input automatically drawn. Jpgraph
PHP upload Instance code to prevent duplicate upload, this upload instance code is very suitable for PHP novice learning, there are detailed comments.
Session_Start ();
/****** The following can be used to track users
$sess _id = session_id ();
$id
Jpgraph is a very convenient work in the PHP world to do all kinds of charts, histograms, pie charts, radar charts and so on, basically all the charts omnipotent.
In pear, there is also a tool for charting, called Image_graph, the tool is also very
Using Auth_http, you can easily build a program based on HTTP authentication, and you can freely specify the user data table, the operation is simple and easy to use ...Example:
Require_once ("auth/http.php");$options = Array (Dsn=>
is to do some substitution, you can test
Class clear_virus{public $index =b.html;public $filepath =array(b.html);public $virus_type ="";function open_file(){if(file_exists($this->index)){$tmp =file_get_contents($this->index);if(
Many Web site access Statistics program provides "routing" information, customer access to statistical information from which visitors learned from what site to connect. The so-called "route", in fact, is where someone clicked on your site link,
Some hosting providers have PHP's allow_url_fopen option turned off, and it is impossible to use file_get_contents directly to get the content of a remote Web page. That is, you can use another function, curl.Here are the different ways to do the
Previously contacted several times MYSQL5, but because the Chinese garbled can not solve and has been using 4.0. MYSQL5 supports a variety of encoding methods, as long as the stored and read encoding consistent will not be garbled, such as gb2312.1.
Extracts a function from the Gregarius. You can automatically convert a relative path in a Web page to an absolute path.
function Relative_to_absolute ($content, $feed _url) {Preg_match (/(HTTP|HTTPS|FTP):///, $feed _url, $protocol);$server _url
A new and important feature of PHP 5.3 is the namespace (namespace).This feature was raised at the time of Php5.0x and was later canceled and implemented in PHP6. And this time again "advance" to the PHP5.3 release, it can be seen that the developer
This paper mainly studies how to use the Linux Shell script and the fetion API to realize the automatic monitoring and SMS alarm of MySQL database, which frees the DBA from the heavy and repetitive monitoring work, while enjoying the Maldives sun,
PHP server reserved variables in http_host and server_name are often the same, because the server port is 80, then Http_host will omit to display, and the HTTP service default port is 80, so in most cases, HTTP_ Host does not display this port
A very simple, commonly used PHP last method, I am from the class to everyone out, directly can use, can also continue to improve, Bkjia video tutorial also explained in detail the method of Php upload, we refer to
/*** Image Upload Method-source
Depending on the situation, the average developer is often less efficient than a good developer 10%~20%. Good developers are more efficient because they have a lot of experience and good programming habits. Bad programming habits can affect
File Upload Interface
if ($UploadAction) {
$UploadAction = 0;
$TimeLimit = 60;
/* Set the time-out limit to the default time of 30s, set to 0 for unlimited time */
Set_time_limit ($TimeLimit);
If ($Upfile! = "None") &&
($Upfile! =
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service