: This article mainly introduces "Please do not directly access the Super Global $ _ GET array". if you are interested in the PHP Tutorial, please refer to it. I downloaded a PHP program developed by the IDE named NetBeans.
$ Name = $ _ GET ['name']
: This article mainly introduces the php learning log-variable scope. if you are interested in the PHP Tutorial, refer to it. 1. access within the global function
Global variables
If the myTest function does not use global, it cannot be
: This article mainly introduces php static and non-static classes. For more information about PHP tutorials, see. Static class: the class contains static defined
Static attributesOr Method class
Static class access method:
1 ,,Static methodYou do
: This article describes how to use session in php to save user logon information. For more information about PHP tutorials, see. Php uses session to save user login information
Use session to save logon information on the page
1. database
: This article mainly introduces PHP to determine whether a string is a jsonstring. if you are interested in the PHP Tutorial, refer to it.
// PHP checks whether a string is a json stringpublicfunctionisJsonString ($ str) {try {$ jObject =
: This article mainly introduces some simple php algorithm programs (bubble, fast, etc.). If you are interested in PHP tutorials, please refer to it.
Function buttle_sort ($ array) {$ len = count ($ array); if ($ len $ I; $ j --) {if ($ array [$ j]
: This article describes how to deploy thinkphp in nginx and configure the Pathinfo mode. if you are interested in the PHP Tutorial, refer to it. If you use thinkphp to build a website and deploy it on ubuntu, the server uses nginx and does not
: This article mainly introduces the integer type and conversion of php. if you are interested in the PHP Tutorial, refer to it. Js data types: string, number, Boolean, array,
Object, Null, Undefined
Php data type
Basic type (scalar type ):
: This article describes how to install the PHP performance testing tool xhprof for Windows + Apache22 + PHP53. if you are interested in the PHP Tutorial, refer to it. Link: http://blog.snsgou.com/post-816.html
1. download XHProf
Here the
: This article mainly introduces PHPmysqli database operations. if you are interested in the PHP Tutorial, please refer to it.
ObjectStatic private $ _ instance; // class instance // Constructor initialization $ mysqliObjectPrivate function _
: This article describes how to use the session on the php public development platform. if you are interested in the PHP Tutorial, refer to it. Session is stored on the server end. Therefore, the cookie of the client is used to differentiate the
: This article mainly introduces PHP printing call stack information for program debugging. if you are interested in PHP tutorials, refer to it.
BlogMigration: for various reasons, my current
BlogStarting from blog.mojijs.com, you can
BaiduSearch
: This article mainly introduces the Debian install memcached and php5-memcache module, for PHP tutorials interested in students can refer. More please support: http://www.webyang.net/Html/web/article_171.html
1. install the memcached service
: This article mainly introduces common methods for php array traversal. For more information about PHP tutorials, see. 1. one-dimensional array traversal
Foreach ($ array as $ value) {echo $ value ;}
2. 2d array traversal
Foreach ($ array $
: This article mainly introduces the use of PHP learning diaries (1)-classes and functions. For more information about PHP tutorials, see. I. user-defined functions
Function add ($ a, $ B) {$ c = $ a + $ B; echo 'add test: '; echo $ c; return $
: This article mainly introduces the cause of error 502 reported by PHPStrom when uploading files. if you are interested in the PHP Tutorial, please refer to it. PhpStorm is a lightweight and convenient php ide with its own
ApacheSimilar compilers
: This article mainly introduces how PHP submits forms to itself. For more information about PHP tutorials, see. Using PHP for Web development, forms can be seen everywhere. Using the Action and Method attributes, you can specify the URL of the Form
: This article mainly introduces the accumulation of PHP learning precautions. if you are interested in the PHP Tutorial, please refer to it. 1. PHP tag
When learning php code, read files written by others, many of which are marked only by php.
: This article describes how to obtain constants, attributes, and method lists in the PHP class. For more information about PHP tutorials, see. PHP methods for obtaining constants, attributes, and method lists in a class
$ R = new ReflectionClass
: This article mainly introduces the sharing of PHP code UTF-8 and Unicode code conversion (multi-language), for PHP tutorials interested in students can refer. PHP UTF-8 and Unicode code conversion
/*** // Encode the content in UNICODE format *
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