/*
* Source: http://www.xuehuwang.com/
* Author: Snow Fox Blog
* Application: For processing configuration data
* Collection and collation: bbs.it-home.org
**/
Final class Config {
Private $data = Array ();
One of the most recent concerns about how to become a good programmer has been our focus. Here are some of the qualities I think we need most: being good at solving problems. Both strenuous and lazy. Be able to understand other people's code. Be
# Virtural hosts start the configuration of the virtual host
Include conf/extra/httpd-vhosts.conf
ServerAdmin kongdaoxian@gmail.com
DocumentRoot "E:/skydao/apache2/htdocs/zendtest/public"
ServerName
Database I use MySQL PDO but the whole idea is the same.
$conn =mysql_connect (' localhost ', ' root ', ' 123 ');
if (Mysql_errno ()) {
printf (' Connection failed '. Mysql_error ());
}
mysql_select_db (' Edeng ');
[Isapi_rewrite] #这句是启用伪装静态规则
Rewriterule/([0-9]+). html/contents.php?w=$1 [i]
Copy CodeAny address that begins with a number goes to Contents.php?w=$1, which represents the content received by the preceding ([0-9]+), and the
Proxy IP Direct exit
Empty ($_server[' Http_via ')) or exit (' Access Denied ');
Prevent Quick refreshes
Session_Start ();
$seconds = ' 3 '; time period [s]
$refresh = ' 5 '; Number of refreshes
Setting up
/*
* To change the template for this generated file go to
* Window-preferences-phpeclipse-php-code Templates
*/
Class student{
Property
Private $no;
Private $name;
Private $gender;
Private $age;
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