Software download
1. Download Apache http://www.apache.org for HTTP Server service, download Apache_1.3.29.tar or Apache_2.0.49-win32-x86-no_ssl
2, download PHP http://www.php.net to find Php-4.3.6-installer
3. Download MySQL http://www.mysql.com
A text.txt text file is required to handle the content characters.
My message board
"I want to leave a message| Back to Home "
if ($nam & $content){$FP =fopen ("Text.txt", "A +");Rewind ($FP);$content =htmlspecialchars ($content);
Persistence under PHP
The concept of "persistence" is the first time the author has come into contact with Java, and through this feature, the Application object can be transformed into a series of byte streams (called object serialization) to
Very useful a complete email sending program, very simple, copy the following code to a blank text page, such as index.php, run on the line. Concrete Example: http://zsvalley.uhome.net/email/index.php.
The following is the complete source code: (Any
First step: First make a following page.
Request Account
Step two: Register the execution program.
mysql_connect ("localhost", "username", "password")/* Please modify your username and password */
Or Die ("Cannot
ORACLE8
PHP in the Linux/unix to connect Oracle8 is very easy, but in the Windows platform is not easy, I have long been groping to find a reliable method, not alone,
It is now published to treat everyone.
I use the development environment:
Windows
A PHP 4.0 feature that is expected by everyone for a long time is session support. In contrast, PHP 3.0 users have to use a third-party library or simply do not implement this feature. The lack of conversational support is one of the most critical
/*
Function written by Nelson Neoh @3/2004.
For the those who wants to utilize this code, please do not remove the this remark.
If you had done a enhancement to this code, please post the copy at Http://www.dev-club.com PHP board. Thank.
Function
Here are some of the time functions in PHP:
(1) Date
Usage:
Date (format, 1141064899);
If there is no time parameter, the current time is used. The format is a string in which the following characters have special meanings:
You replace the
Author: bjbs_270
A period of time to do one months report statistics with the title function, combined with others with mktime () function I wrote a But then always wrong, depressed pole. Take a little time on weekends to write one, and hopefully it
The comparison operator, as its name implies, allows you to compare two values.
Table 7-4. Comparson Operators (table 7-4 comparison operators)
Example name result?/font>
$a = = $b equal?/font> True If $a is Equal to $b.? /FONT>
$a! = $b
Manual
H1>
(PHP 3, PHP 4 >= 4.0.0)
Fseek--position a pointer to a file
Describe
int fseek (int fp, int offset [, int whence])
Sets the file indicator for the reference FP for this file. This new location is specified from the beginning of
Proxy
Just wrote the works of practiced hand. The feeling still has some practical value. Let's try it out for everyone.
Function: Implement proxy function through PHP
Applicable users: Slow to download at home. And do not bother to find proxy. and
Mvc
MVC with PHP (a) bug problem is present, the biggest problem is the problem of the log system, and so on after this introduction I have all the correct program source packaging
Out, there is no change for the time being.
Let's take a look at how
Travel Niao supper 鰌 Ost I wrote it in the beginning of December 2001, hoping to help you learn PHP
It is estimated that the first problem is mostly how to configure the problem
Suggest a few software
Server Apache, database MySQL, and, of course,
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