Principle:
1. Browser enabled cookie,php if the Session_Start () is called;
First access page (no session information in the request), the server generates a session ID into "Response header information" (First return only)
PHP code
Although the LAMP combination is good, if you want to set up a web hosting server that supports PHP, ASP, ASP, JSP, Perl, or Windows 2003, IIS 6 is the best. There are a lot of articles on the web that describe the configuration of PHP on IIS 6, but
It's not the first time you've written a form submission, but you're still having problems that can't be solved. Study for nearly a day, asked N more netizens, finally solved the problem, the process is quite tortuous. Thank you for your help. In
Have to write one yourself. The operation of XML has never been used. Here are the XML operation classes that you have collected
DOMDocument related content.
Property:
Attributes---> Storage node Property list (read-only)
ChildNodes List of
Made n many times the PHP environment, the online method is really many, but the actual operation of there are always some big and small in and out, a lot of mistakes often let me tangled. A long illness into medicine, gradually I summed up some
Curl Libraries in PHP (Client URL library function)
Curl_close? Close a Curl sessionCurl_copy_handle? Copy all the contents and parameters of a Curl connection resourceCurl_errno? Returns a numeric number containing the current session error
The most popular PHP MVC framework
http://yp.oss.org.cn/software/show_resource.php?resource_id=742
Yii (sound easy frame, I generally directly read yii) codeigniter (Jane read ci) Symfony CakePHP
MVC, this look at Baidu on line, MVC in the
The data obtained with Php+mysql is garbled with UTF-8 encoding.
Turned out to be
1//Solve garbled problem: 2/*php by setting character_set_client, tell mysql,php what encoding is stored in the database. 3 PHP tells mysql,php what encoding data
What is CGI
The CGI name is a "public Gateway Interface" (Common Gateway Interface), a tool that the HTTP server "chats" with programs on your or other machines, and its programs must be run on a network server.
CGI can be written in any language,
Introduction: This is the PHP date check function of the detailed page, introduced and PHP, related knowledge, skills, experience, and some PHP source code and so on.
class= ' pingjiaf ' frameborder= ' 0 ' src= '
In PHP, the URL is encoded, you can use UrlEncode () or Rawurlencode (), the difference is that the former to encode the space as ' + ', and the latter to encode the space as '% 20 ', however, it should be noted that only part of the URL should
Original url:http://blog.sina.com.cn/s/blog_4b029ef301007xky.html
Software Installation List
Zlib.
Mysql
Php
http
Libpng
FreeType
Jpegsrc
Libxml
I use the source code installation, because it is more flexible, you can specify the
Teach you how to build the latest PHP server platform with Vertrigoserv in one minute
See this tutorial is very useful, for everyone in the local testing has a great help, so turn it over! Transfer from PhpwindToday I'm going to teach you to
VPS Host system for Server2003,iis of course is version 6 (hurriedly upgrade to 7, with PHP is not so laborious). Before using Nginx server, but not stable, often used to hang off, not very reassuring, on the Internet a check, many people have
PHP variable judgment
Is_a-Returns TRUE if the object belongs to the class or if the class is the parent class of this object
BOOL Is_a (Object object, String class_name)Returns TRUE if the object is the class or the class is the parent of this
1. PHP logo
The Web server improves efficiency by passing only rows with PHP identifiers to the PHP parser.
Four kinds:,,
,
2. Notes
Single line,/* * * Multiple lines, # single line
3. Output to the browser
Print:1 indicates that the
Function: Strip_tags ($STR, $allow)
Role: Remove Html/xml and PHP tags.
Parameters: $allow A label that specifies exceptions, allowing these tags to not be deleted.
world!","world!? " >
Note: the FGETSS () function has a similar function.
PHP has a lot of file handling functions
File_get_contents reads the contents of the file to return a string. Read failure returns FALSE.
$contents = file_get_contents (' c:/private/filetest01.txt '), if ($contents = = = False) {echo ' Sorry,
As I said at the beginning of the article-the reason for writing this article is because I can't find an ASP-like DateDiff function in PHP. After introducing how PHP handles the date and time, let's port the two commonly used functions in ASP to PHP.
A challenge
As a homework, you can see if you can solve a problem: Place a hyperlink called "Delete this Joke" behind every joke that appears on the page, and when you click the connection, the joke is removed from the database and the list of
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