This article has been to learn PHP all the functions used for output information, classification comparison to learn the same point and different points, master the necessary skills in daily development.
Development is bound to require debugging
Plus what will be the problem, do not report what is wrong, so when compiling PHP, in addition to the necessary directory specified, many parameters are not added ... When I installed the Web program, I found that a lot of parameters are to be added,
Basic syntax
All smarty tags are prefixed with delimiters. In Smarty, everything except the delimiters is static, and when Smarty encounters a template tag, it tries to interpret them and then output it in the right way.
{and} are by default, but
WebSocket
WebSocket is just a network communication protocol.
Like HTTP, FTP and so on are network communication protocols; Don't think much of it;
WebSocket is a protocol for persistent network communication, as opposed to HTTP, a non-persistent
The previous article describes how Php-excel-reader reads Excel files because it requires that data such as Excel:
The new database table is as follows:
--Database: ' Alumni '
--The structure of the table ' alumni '
CREATE TABLE IF not EXISTS '
We need to find out which DLL file is loading the problem. The Troubleshooting method is:
Change display_startup_errors = off in php.ini to Display_startup_errors = on.
This is to visit the PHP page, the server will be pop-up PHP error prompts
One, the use of the class library
1, Phpqrcode (PHP library)
2, Qrcode.js (JavaScript library)
Second, the use of Phpqrcode
Only use PHP's class library, that is, the generation of two-dimensional code in the background operation. Because to
This article is an example of the use of PHP PDO operation database garbled problem solving method. Share to everyone for your reference, specific as follows:
When using the PDO connection to manipulate the database, it sometimes appears: the
PHP Metaphone () function to compute the Metaphone key of the string, this article introduces the basic usage and example of PHP Metaphone () function to the code farmers, the code farmers need to refer to the method and examples of this article.
It refers to the echo string, which is better than the connection. The reason is not to say, first look at the following two sentences
What was the result?
1+5=6?
1+5=6?
——————
6?
2?
——————
6.6?
6.6?
——————
I can only
It's always good to have a magic tool when writing code! Here's a collection of 40+ PHP snippets that can help you develop PHP projects. We have already shared the 23 PHP code snippets that must be collected.These PHP snippets are also very helpful
I. Related information
Usually use $_post['] or $_get['] to get the parameters in the form will appear notice:undefined index:--------;
And we often receive form post data times undefined index error
For example: $act =$_post[' action ']; Using
1 Find character position function:
Strpos ($str, Search,[int]): Find the first position of search in $str starting from int;
Stripos ($str, search,[int]): function returns the position where the string first appears in another string. This function
checkdate ($month, $date, $year)If the value that is applied constitutes a valid date, the function returns True. For example, for an error date of February 31, 2005, this function returns to False.You can use this function to check the date and
In the past, the establishment of the station generally custom development, which requires a high technical, and code is not easy to reuse, others are not easy to maintain, for CMS, it is not necessary to customize development, because the basic
This column began to call the micro-Bo Rice no API to do, because the well-known reason, the rice can not be used, and then use Tencent's surging API to achieve. January 26, 2010 surging business will start and QQ space mood integration, can only
The Set_error_handler () function sets the user-defined error-handling function. This function is used to create the user's own error handling for the Run-time period. The function returns the old error handler, or null if it fails.
Let's take a
This article illustrates the way PHP implements connecting devices, communications, and sending commands. Share to everyone for your reference. Specifically as follows:
The development of the BS Architecture Software (PHP), the need to communicate
The HTML generated with the Smarty template in 1.php has a blank line at the top of the browser.
2. Use Firedebug to find meta and link tags in the body tag.
The WMAP running on this machine is OK, send to the remote server is iasp service, the
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