PHP tutorial using Flashchart to generate histograms
In recent projects you need to generate columns like Excel, pie charts, trend graphs, etc...
Google on the internet, found the Open Flash Chart address: http://teethgrinder.co.uk/open-flash-chart-
There are many ways to manipulate remote images in PHP, this article is only about a simple curl can be achieved, if you want to know more, imitate the user's words can refer to our site other methods.
The code is as follows
Copy Code
Support for multi-level directory built PHP function This function PHP Custom function is a path to create a folder and support multi-level directory instance function Oh.
PHP tutorial functions that support multilevel directory creationThis
This article summarizes the use of regular expressions in PHP to match some of the example functions of Chinese, the need for friends can refer to.
We need to understand first.Chinese double Byte character encoding range
1. GBK
1, the database by setting the parent class ID to make a unique index, and then use the recursive invocation of the function to implement an infinite classification, 2, the database design is arranged in a specific format, and then use the MySQL
The following two functions are two double-byte string interception function, that is, for the Chinese string interception, good first Chinese character interception function is leapfrog concise, the latter a complex but consider more.
PHP
PHP Tutorial MyAdmin How to set up a password login
Down the latest version of the phpMyAdmin.After loading, enter the username root and click Log in (because I am locally, so root has no password)Results are always reported to be denied access to
About the shopping cart, this is in the e-commerce use of more, the user choose their own products need to save, and finally to the cashier, which is very much like our actual life of the supermarket, so I am now to write a simple PHP shopping cart
The $_post variable is used to collect values from the form method= "POST". The information sent from a form with a POST method is not visible to anyone (not displayed in the browser's address bar), and there is no limit to the amount of information
PHP classes that resolve. htpasswd files in Linux have a friend to refer to.
Introduces aHow to use
$
copy code
passwdhandler = new htpasswd ('/home/myuser/. HTPASSWD '); //ADD a user with name ' user1 ' and password '
Use the target property and IFrame of the form form
One, upload the file of a PHP tutorial method.The method takes a $file parameter, which is the $_files variable obtained from the client, returns the renamed file name, and returns an empty string
Here we provide you with a simple PHP shopping cart code Oh, from the increase of shopping products and the occurrence of the purchase, in the mall development, this function is indispensable, we do not need a database, using a txt text file to
PHP Tutorial Access data connection and read save data parsing
$conn = new COM ("ADODB. Connection ");$connstr = "Driver={microsoft Access DRIVER (*.mdb)}; Dbq= ". Realpath ("Www.bkjia.com/db.mdb");The COM interface is used to connect to the access.
Php+ajax article Auto-Save Code instance method The main is to facilitate users, improve user experience Oh, we are using AJAX to save the data a temporary data, like CSDN, he can automatically save the user's data, so that is the power-off Oh, the
This article to introduce to you two kinds of use PHP to achieve page jump and cross-site commit forgery Referer address source specific implementation, methods mainly used in Fsockopen,curl two functions, there is a need to know the friend can
This is the use of a phpwind inside a string interception function, he supports gbk,gbk2312,utf-8 and other encoded character interception, but also very efficient to support the processing of Chinese strings.
The code is as follows
A little upset today, or write an article about PHP Fsockopen post-related data, we can imitate from and then send to the other side of the server, have a friend to see it.
The code is as follows
Copy Code
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