Here we use phpMyAdmin to manage MySQL database GUI.
Use version:
Apache_2.2.11-win32-x86-no_ssl (MSI installation)
Mysql-essential-5.1.23-rc-win32 (MSI installation)
Php-5.2.8-win32
Phpmyadmin-3.0.0-all-languages
1. Apache
1.1. Installing
1. Session_Start (): Start a session in PHP (note that all PHP session information is at the top of the page, before any HTML code, otherwise it will go wrong!) )
$_session[' ... ']: Session array (single quotes fill in the variable or constant
From:http://hi.baidu.com/bing2liuliu/blog/item/3e115bfb1bc726995bee9063.html
PHP references (add & symbols before variables or functions, objects, etc.)The reference in PHP means: Different names access the same variable content.There is a
I have always been in the style of PHP functions to write PHP, all variables, functions, classes are used lowercase, the word between the lines separated, has been compared to exclude the Hump code specification, the person think in the case of the
Introduction: This is the PHP json_encode strange problem detailed page, introduced and PHP, related knowledge, skills, experience, and some PHP source code and so on.
class= ' pingjiaf ' frameborder= ' 0 ' src= ' http://biancheng.dnbcw.info/pingjia.
1. PHP can read a random string This code creates a readable string that is closer to the word in the dictionary, and is practical and has password validation capabilities. /************** * @length-length of random string (must be a multiple of 2) *
Introduction: This is the PHP setup method of the detailed page, introduced and PHP, related knowledge, skills, experience, and some PHP source code and so on.
class= ' pingjiaf ' frameborder= ' 0 ' src= ' http://biancheng.dnbcw.info/pingjia.php?id=3
The previous installation of the PHP environment, often installed again is once again, need to reinstall because no record, have to re-step configuration; Today by the way install: Windows Apache and PHP installation and configuration process, make
? Today, when using Slimstat, when you select a day in Fitler, what is the case?? The title of summary became the "compare with%s", and the 2 dates that should appear are all met.
I thought it was a slimstat bug. Debug a bit found that should pass
In PHP development compared to cookie,session is stored on the server side of the session, relatively safe, and does not have the same storage length as the Cookie limit, this article briefly introduces the use of the session.
Since the session is
Session solution When a client disables cookies [go]
PHP 2009-09-13 12:12:06 Read 31 Comments 0 font Size: Big Small Subscription
A friend who has used a session in PHP may encounter a problem where session variables cannot be passed across
Hide index.php
First, CodeIgniter
CodeIgniter, like many PHP frameworks, has a single entry index.php that looks unfriendly from the URL. Through Apache's Rewirte, it can be hidden and implemented pseudo-URLs.
Open the config.php in
I have seen a lot of articles about PHP export Excel, and I have done it by many methods.
For example, echo a table and then modify the header to Excel.
In fact, in many ways feel pear in the spreadsheet_excel_writer is very useful.
Installation of
PHP's unset is very special.
To put it simply:
Refer to the PHP manual:
Array (1, 2, 3));/* Look at Memory _______________________________|pointer | Value | Variable ' s | -----------------------------------| 1 | 10 | $a | |
Thinkphp inside will be based on the current? URL to parse the modules and actions to be performed. The return analysis work is implemented by the URL scheduler, the official built-in dispatcher class to complete the schedule. In the dispatcher
Multi-person development projects without automatic deployment, light maintenance is a very big burden, every time you modify the project deployment is always cautious, painful
In order to relieve the burden, decided to engage in phing+xinc to
PHP WebService
Here the wood has the use of WSDL.
"http://192.168.1.12/"));//this URI is your SERVER IP. Register the function//$soap->addfunction (soap_functions_all); $soap->addfunction (' get_cpu_rate '); $soap->handle (); function
Tested No problem
Class SMTP
{
/* Public Variables */
var $smtp _port;
var $time _out;
var $host _name;
var $log _file;
var $relay _host;
var $debug;
var $auth;
var $user;
var $pass;
/* Private Variables */
var $sock;
/* Constractor
Unified encoding is important from writing HTML-to PHP-->mysql
Again read back, also pay attention!!
Note one:
in the PHP header in HTML this tab. This is the HTML page requirements Note two:
Header (' Content-type=text/html;charset=utf-8
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