PHP Learning path Five (form validation)
PHP Processing FormsPlease fill in your personal information
Verification page:
";} else if (strlen ($name) 10) {echo ' name must be between 3 and 10!";} else {echo "name:". $name. "";} Password
Build PHP Operating Environment
1. First install Apache Http Server Download Address: http://httpd.apache.org/download.cgi
Be aware of the Apache Http Server version, as the version of PHP to be installed will also be required for the Apache
PHP Learning Path III (string manipulation)
";? >
";//returns-1 because the ASCII value of the lowercase letter is greater than the value of the uppercase grandmother Echo strcasecmp (" ABCD "," ABCD ").";//Return 0?>
"; Echo strstr ($parent,
PHP Quick Build Directory tree
BOOL MkDir (string $pathname [, int $mode [, bool $recursive [, Resource $context]])
Try creating a new directory that is specified by pathname.
The recursive parameter is added by PHP 5.0.0. This parameter is
PHP installation Eaccelerator
Article Source: http://verydemo.com/demo_c116_i4224.html
Eaccelerator is a very good PHP accelerator, by caching the compiled PHP code files, so that PHP compiled to the server is almost zero overhead. The cost of
PHP creates thumbnails to create a perfect solution for poor image quality
Recently get a forum, on the first page to have a ranking, showing the top 10 users of the list of comments, the list has a sketch is the user's latest upload works, if the
Arrays of PHP and SPL fixed arrays
PHP fixed arrays are part of a data structure of the PHP standard library (SPL). Compared to PHP normal arrays, fixed arrays can only be used to define its subscript, and, as the name suggests, is fixed length,
PHP Basic Development Code Example ~
Recently intends to re-pick PHP to develop some small applications, a long time useless PHP, some of the syntax is unfamiliar, this morning wrote three examples, basically the previous PHP reviewed a bit.
Basic
Phpgacl Chinese Manual (eight)
Naming of Permission objects
Phpgacl The system uniquely identifies each permission object with a double keyword combination ( ARO , AXO or ACO object), and it is a permission object type.
It uniquely identifies a
Top 14 Questions for beginners with a headache
A variable cannot be passed between the "1" page get,post,session in the latest PHP version, the auto global variable is closed, so the variable to be submitted from the previous page is to use the
(RPM) accelerates the echo of PHP
Http://www.laruence.com/2011/02/13/1870.html
You may have noticed that when using echo to output a large string of strings in PHP, the execution time will be significantly longer, and some friends will think that
In-depth discussion of PHP5 object replication technology
The origin of object replication
Why do objects have the concept of "copy", which is closely related to the way objects are transmitted in PHP5, let's take a look at this simple piece of code
Use of PHP loops with arrays and lists
Use of foreach:1. Usage 1
?? $arr =array ("Zhang San","John Doe","Harry","Caifan");?? foreach ($arr as $value)?? echo $value. '';?>
2. Usage 2
$arr =array (' Chinese ' =>130, ' math ' =>140, ' 中文版 '
PHP A simple test tool simpletest
PHPUnit is a good unit testing tool, and this article introduces a more lightweight unit testing tool, open source,
SimpleTest,
1 Downloads:
http://sourceforge.net/projects/simpletest/,
Unfortunately the document
Dede Online Installation initdede.php
"echo" To change the password successfully, now get the latest version of DEDECMS information ..."; $infoString = file_get_contents ($rmurl) or Die (" Connection remote URL failed! $infos = Split (', ',
Using PHP to implement file download support breakpoints
File download with PHP, with support for the next breakpoint form
Ob_start (); $size = FileSize ($file _dir. $file _name); Enter the file label Header
"Translate" PHP with text encoding transforms using Sjis-win instead of Sjis, using Eucjp-win rather than EUC-JP
Using Sjis-win instead of Sjis, use Eucjp-win instead of EUC-JP
From:http://pentan.info/php/sjiswin_eucjpwin.html
In the designation of
Why I'm obsessed with PHP
Contact PHP for more than a year. Now is also engaged in web development-related work, the main implementation is php+mysql, so basically every day to use PHP. The more you know about PHP, the more deeply you find
Php URL Pass-through learning notes
1. The source code in the page when displayed in the browser, the browser will interpret the HTML escape symbol so if you want to display special characters, such as ' ', etc., in the source code can be <>2.
How does PHP get all the field names in the MySQL table to an array?
How does PHP get all the field names in the MySQL table to an array?
SELECT * FROM table can do this, but returns an array (' name ' = ' Hello ', ' age ' =>30,...) Such an array,
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