PHP Environment Configuration under UNIX
Required Software Php-3.0.14-win32.zip
Php-3.0.14-win32.zip
Mysql-shareware-3.22.32-win.zip
All software is installed under/export/home/guoj/, and can be used in other directories.
Install MySQL
GZIP-DC mysql-
Statistical graphs we will often to the data graph, if three arrays to graphic display or real estate to graph to us will need to use graphics, below I introduce a PHP libchart graph generation Class bar, very useful for the needs of friends to
Let's take a look at a PHP based on the dichotomy of mobile phone number attribution Query and traditional query efficiency comparison, I hope that the article on the requirements of high performance friends will provide a good reference
There may be a lot of users will find their ecshop often use off the timeout, there are many ways to solve the problem, we can directly in the Ecsho to modify, the method is as follows
Modify in includescls_session.php
The code is as
A super simple PHP tutorial image watermark Code
In PHP to add a watermark to the image has imagecreatefromjpeg imagecreatefrompng imagecopymerge imagejpeg, as long as you set the original image and watermark picture becomes, see the example below.
*
PHP images upload and generate thumbnail effects This tutorial is a PHP image upload and then, the upload of images generated small pictures Oh, is a very good file upload class, if you are looking for class program can come in to see
PHP Tutorial
Today just configured PHP environment results in PHP startup can not load Php_mysql.dll, php_mysqli.dll, this I configure is no problem ah, let me introduce you to Php_mysql.dll, Php_ Mysqli.dll cannot load the workaround.
When I started the PHP
PHP Move copied files We use copy, below we look at a simple example, he realized the directory and directory files move, I hope this article to help you.
Method One, Copy+unlink way
My idea is: move = new + DELETE. Create a new folder in the target
Someone asked why PHP installation Xdebug after var_dump () can not lose the contents of variables, the variables are directly in the output instead of the contents of the variable output, the following we simply configure a bit of xdebug can be
PHP Get picture aspect and width code in PHP to get the height and width of the picture, PHP itself with a function getimagesize, he will return an array, the array subscript 1 is the height of the image, array subscript 01 width Oh.
PHP tutorial
Read to the data
$m =new Model (' User ');
$m =m (' User ');
Select
$m->select ();//Get all the data, return as an array
Find
$m->find ($id);//Get Single data
GetField (field name)//Get a specific field value
$arr = $m->where (' id=2 ')->getfield ('
This article provides a mysql2xml conversion class, you can quickly convert XML to MySQL and vice versa can also convert MySQL to XML Oh, look at the code below.
mysql2xml.php class file: Used to back up MySQL data!!
The code is as
This article to the students about the PHP user login authentication cookie and session performance comparison bar, there is a need to understand the students can refer to.
See a lot of information. Also think a lot, sum up!
PHP High-performance
This article to introduce to you a paginator PHP page program code, the need for friends to enter the reference.
The code is as follows
Copy Code
Class Paginator { function __construct () { } static function render
A lot of friends do movie sites are directly with the big video site Flash play address, so if we do not affect their own network server, the following small part to introduce the use of PHP to get the major video site page of the Flash Play address
PHP to the picture plus text watermark and image Watermark code this program to add text watermark to the image is called C:\\windows\\fonts\\simhei. TTF font, you can customize the image when you add a watermark to the picture Oh.
PHP tutorial for
Because in the work we often need to use to curl multithreading to deal with some things, do not have to go into the Curl Multithreading research, the following small series to introduce you to the students Curl multithreading examples and
This article introduces a PNG thumbnail program that generates a transparent background in PHP, which is very simple to handle in PHP imagealphablending ($thumb, false); with Imagesavealpha ($thumb, true); On it, see the procedure below.
When the
Verification code in PHP is often used, the following we provide you with some of the PHP verification code generation class and program, directly copied down can be directly used, oh, see the code below.
Verification code in the PHP tutorial is
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