Author: Polaris (php@yeah.net)First, the basic principleNetscape Enterprise Server executes CGI programs in two ways.Specifies a directory that contains only CGI programs, all programs in that directory, whatever the suffix is executed, the program
In the Web development market, Java and PHP are popular technologies that are currently being applied. Java's power is beyond doubt, not only in web development, but in every software application, Java is ubiquitous. PHP is also booming, driven by
Often see users ask some questions about PHP (as the mainstream development language now) and XML (standardization is getting closer), database combined with the use of posts, also often see some beginners
Put PHP (as the current mainstream
Installing amp
Apt-get Install apache2 mysql-server php5 php5-mysql5
Configure Apache2 Default Site
Vi/etc/apache2/sites-enabled/000-default
Join a row
Redirectmatch ^/$/apache2-default/
Testing this step does not require
Modifying the Apache2
When it comes to web search engines, most people will think of Yahoo. Indeed, Yahoo has created an internet search era. However, Yahoo's current technology for searching the web is not the company's original development. In August 2000, Yahoo
Many friends in the process of working with PHP often encounter permissions issues. I'm here on the issue of permissions based on my previous experience and talk to you. Permissions errors typically occur when the data is read and stored. So, first
Recently in contact with PHP this piece, about the PHP configuration under the Wndows system, although the online has a lot of articles, but sometimes some configuration to find trouble, so share to everyone.
First, PHP 5.4.22
Download Address http:
Object-oriented Programming in PHP: How to develop a large PHP project (iii) Author: Luis Argerich Translator: Limodou overloads (unlike overrides) are not supported in PHP. In OOP, you can overload a method to implement two or more methods with the
The topic of scripting security always seems endless, and if you go to all kinds of bugtraq abroad, you'll find that more than half are related to scripting, such as SQL Injection,xss,path disclosure,remote commands Execution such words abound, we
Although many PHP programmers in the country still rely on addslashes to prevent SQL injection, it is recommended to strengthen Chinese to prevent SQL injection check. The problem with addslashes is that hackers can use 0xbf27 instead of single
This article tells about the Controller class tutorial in MVC, through the last two sections we know that the route class through a single portal file determines the unique Moudle, Conttoller, action, and finally executes the
The code is
This article describes the use of the most basic looping statements, including the most basic statements in PHP for the for (), while (), and foreach () do.
While loopThe while loop is the simplest loop in PHP, and its basic format is:
PHP Tutorial Connect MSSQL 2005 1. Download the following two files into the PHP ext directory and System32
Php_sqlsrv_52_ts_vc6.dll (thread safe)
Php_sqlsrv_52_nts_vc6.dll (non-thread safe)
VC6 for APACHE,VC9 for IIS
2. Modify PHP.ini
In the PHP file upload this paragraph, if not Ajax to achieve, the effect is not good, the user experience is not very well, below we will look at this ajax+php no refresh file upload code bar. ajax+php No refresh File upload code
ajax+php Tutorial
Powerful PHP can use the relevant functions of MySQL interaction to get data table field information, such as can get data table get field name, field length, field information and so on.
The powerful PHP tutorials can take advantage of the MySQL
Today in the use of a regular prompt deprecated:function eregi () is the deprecated in error, and later queried for one reason is that we php5.3, in 5.3 has not supported eregi function, you can directly use Preg_ Match to replace.
Pre-change:
PHP Traversal Loop Array implementation method, PHP loop array
Simply use the foreach for list every while to iterate through the array, including a normal one-dimensional array and a two-dimensional array traversal method, with a detailed
Web page changes to the search engine friendly after the best way to do is to do 301 redirect, if not temporarily to some or some of the Web page transfer, we all think to do 301 redirect more appropriate.
Web page changes to the search engine
Today in development encountered on the parse Error:syntax error, unexpected $end errors, according to their own to examine here may be if else did not appear in pairs, let us summarize the problems and solutions.
May be unfamiliar with some
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.