Common causes and solutions for PHP blank pages

Resolution | Page Writing PHP, there will inevitably be errors. In fact, errors are not difficult to solve, the most difficult to solve is the appearance of blank pages. Everyone think about it, if you write PHP errors, you can correct the error

5 ways to improve the way PHP is developed

Each of us has our own skills and methods on how to use the PHP language to develop an application. In fact, as we all know, there are many ways and means to make development easier. Nevertheless, there are some methods, especially coding styles and

10 Tips for PHP scripts (from ZDNet)--session usage

session| Tips | scripting session usage PHP 4.0 has a feature that has always been expected, and this is the PHP session support. By contrast, PHP 3.0 users have to use a third party library or do not have this feature at all. The lack of session

The most commonly used PHP regular expression collection

Regular expression regular expressions are used for string processing, form verification, and so on, and are practical and efficient. This article collects some common expressions: Matching regular expressions for Chinese characters: [\U4E00-\U9FA5]

PHP Write a small class of database management (to be upgraded)

Data | database Require_once (' db_config.php ') in another file for security reasons. Class Dbmanager{private static $conn; public static function getconnection (){if (self:: $conn ===null){$newConn = @new mysqli (hostname,username,password,dbname);

Chinese PHP programming under UTF8

Programming | Chinese "Abstract" in this article, the sandals as far as possible to introduce the UTF8 code of PHP programming, as to why the introduction of a separate "Chinese", one is because the English this thing really do not need to consider

PHP Image Resize picture resize function code

Copy CodeThe code is as follows: function My_image_resize ($src _file, $dst _file, $dst _width=32, $dst _height=32) { if ($dst _width echo "Params width or height error!"; Exit (); } if (!file_exists ($src _file)) { Echo $src _file. "is NOT exists!";

Php-sockets Reading notes

The note study PHP2 a month, the harvest is quite many. But unlike others, I prefer socket.php in the socket. So I decided to write a series of Php-socket reading notes. Have been written from the basic to Socket_raw. Examples + experience. Examples

Hash and expired recycling of PHP's large number of sessions

A large server traffic, because the program needs, the expiration of the session set is 3 hours, resulting in/tmp accumulation of nearly 200,000 of the session file. This leads to a sharp increase in the CPU consumed by the kernel. Because session

Re-implement PHP script engine built-in functions with PHP

functions | scripts Really boring, whim, want to put some of the PHP inside the package has been provided to reuse PHP implementation again, Really boring, whim, want to put some of the PHP inside the package has been provided to reuse PHP

Security Specification for PHP injection

Security precautions for PHP injection through the above process, we can understand the principles and techniques of PHP injection, of course, we can also work out the corresponding prevention methods: The first is the security settings for the

PHP Book website Collection Example Tutorial

On the internet to see a lot of simple collection of tutorials, especially for the book site more, but not many examples, in view of a eight Chinese web crawl analysis, decided to this site, write a simple crawl tutorial, and with examples. Because

Start learning PHP from an instance

3 PHP Practice Many of the features of PHP are related to other software or tools. Using the knowledge we've learned so far, we can try to build a simple interactive web site. We can learn a lot by using this process. Well, we're starting to focus

Constants in PHP

PHP defines several constants in advance and provides a mechanism to define them at run time. Constants and variables are basically the same, and the difference is that constants must be defined with the Define function, and once a constant is

PHP Learning Notes (finishing)

First, start learning PHP now Old monkey to get a website, provide host space to Php+mysql majority, compare price is also relatively low, so just can learn PHP.However, later, he said no hurry, I did not officially start. Today, by the way. Unlike

Automate scripts as Linux using PHP programs

Using PHP as a community, when writing to calculate the highest number of online, successfully debug the PHP as a shell script directly on the server running. When you are a community, you often need to count data on the number of online people. As

Ways to develop large PHP projects (v)

object-oriented Programming in PHP: Ways to develop large PHP projects (v.)Using classes for data storageOne of the great things about PHP and OOP is that you can easily define a class to manipulate something, and whenever you want toYou can call

Configure online Editor in PHP environment FCKeditor

On-line editor FCKeditor 2.0PHP Environment trial in small memory First, IntroductionNovember 30, 2004 launched the FCKeditor 2.0 RC1 version, according to its official website said: This is the FCKeditor 2.0 version of the first stable version. You

How to email with PHP (2)

Mail ([receiver], [subject], [mail subject], [header information]);You simply need to replace the [receiver] with the next name in the list. Suppose you already have an array of email addresses:$addresses = Array ("me@mycompany.com",

The method of using infinite lifetime session in PHP

In the PHP4.0 added to the session support, convenient for us a lot of programs, such as shopping carts and so on!In many forums, session is also used to deal with user login, record user name and password, so that users do not have to enter their

Total Pages: 12780 1 .... 412 413 414 415 416 .... 12780 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.