Disadvantage: The long and wide picture will be stretched deformation, can not be intelligent cutting, the need for intelligent cutting, please do your own research.
$config = Array ();
$config [' path '] = "./";
$config [' t_width '] =
1.array_shift () Moves the first cell out of the array and returns it, which is sometimes convenient for the first cell of the array to be handled separately.
Copy CodeThe code is as follows:
$tmparray = Array ("1", "2", "3", "4");
$tmparray =
If you want to use the conversion of the amount, the processing of the decimal part should be modified
function Ch_num ($num, $mode =true) {
$char = Array ("0", "one", "II", "three", "the", "WU", "Lu", "Qi", "ba", "JIU");
$DW = Array ("", "Pick", "
In the PHP script to read Chinese or other language is garbled, first check that your file format is stored in UTF8 encoding format. If not please use ultraedit ... And some of the tools that UTF8 support conversion,
It is best not to use Ms Notepad
Curl supports SSL certificates, HTTP POST, http PUT, FTP uploads, Kerberos, HTT-based uploads, proxies, cookies, user + password proofs, file transfer recovery, HTTP proxy channels for the most common use, is an HTTP-based get and post method.
Code
Before you start, mention the three functions: "Ob_start (), Ob_end_clean (), ob_get_contents ()"
Ob_start (): is to open the buffer, is to put the static file you need to generate the contents of the cache here;
Ob_get_contents (): is to read out
Of course, the premise is to open the CDN in a function reload_into_ims on. So the user sends over No-cache also not afraid of. Because this will give No-cache to If-modified-since. So we write the program is mainly to If-modified-since control.
Since the session is stored as a text file on the server side, the client is not afraid to modify the session content. In fact, the server side of the session file, PHP automatically modify the session file permissions, only the system read and
The following are examples of accessing page request variables such as get,post,cookies,server,enviroment and session variables. For example {$smarty. server.server_name} Gets the server variable, {$smarty. Env.path} Gets the system environment
In fact, PHP gzip decompression is very simple, with the built-in Gzdecode function can be, but unfortunately I configured half a day can not support the Gzdecode function, so have to make a flexible:
Copy CodeThe code is as follows:
if
Obviously this is a problem that all friends who use MySQL will encounter.
Recall the original MySQL GUI tool that was mentioned in configuring the environment, yes, that's it, you can find it in http://www.mysql.com. Because Sunec is only a
Quick configuration Apache+php5+mysql in windowsxp
PHP read MySQL data
PHP combination Query multi-conditional query
PHP add MySQL data record
MySQL Delete record operation with PHP
MySQL update record with PHP
These are some of the most basic
1. Import the SQL file exported from MySQL5 into MYSQL5.
2, with mysqldump-uroot-p1234--opt--compatible=mysql40-a-re:\localhost.sql
The--compatible=name parameters are described below:
--compatible=name change the dump to being compatible with a
There was this sentence in the last program:
$exec = "INSERT into info (ename,pcname) VALUES ('". $_post["ename"]. "', '". $_post["Pcname"]. "')";
Explain the meaning of the sentence. The syntax for SQL Insert Records is:
Insert into table
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