(Coolman)
PHP has become one of the most popular server-side script languages due to its fast, reliable, cross-platform application and open source code. I based on my experience in the work, to introduce you to the use of PHP experience, I hope
Serv-u
sign.php
The system is suitable for Win2000
Power by Devchina.com,http://www.2oa.net
$path = "E:\\serv-u\\servudaemon.ini";//path of user files
$fabu = "e:\\web\\";//Total Web Path
if ($add)
{
$FP 1=fopen ($path, "r+");
$str =fread ($fp 1,
Elementary introduction of PHP User identity authentication (a)
Popcorn September 25, 2001 Www.westxj.net
When you browse the site, you will often encounter certain pages that require user and password verification.
This requires that we write the
Now will my practice results show to everyone, the shortcomings of the method is not very good paging, can not show the specific page, but there is no other better solution, had to first so, if there are similar to this forum page method, table one
PHP is a server-side scripting language for creating dynamic Web pages. Like ASP and ColdFusion, users can mix PHP and HTML to write Web pages, and when a visitor browses to the page, the server first processes the PHP commands in the page and then
Common tips for PHP programming four
1. Configure the PHP file directory
As a scripting language for server-side interpretation, PHP is placed in a directory that can be accessed by a server, and can typically be configured by modifying Apache's
The object-oriented features in PHP support C + + type:: operational symbols!!!
Lone wolf: this:: In the pear, but often appear, the first time I saw the time I was confused:)
This feature document does not have any description, but it has good
Look at your domain name server.
If you use someone else's, you don't have to do anything.
Call and tell each other what IP you want to resolve
If your own, then the first thing to do is your domain name server is your machine
For example: aaa.com
?
$host = "localhost"; Host Name
$user = "root"; MySQL User name
$password = ""; MySQL Password
$database = "Doc"; MySQL database name
$tables = "MClass"; Table name
$conn =mysql_connect ("$host", "$user", "$password") or Die ("Database open error")
IMail
There are a lot of friends for the PHP mail function and distress, in fact, the key is its SMTP service problem. Most of the commonly used 163, SINA, etc. do not support the anonymous sending of mail, that is, even if you set php.ini in the
Title: Use PHP4 to accelerate network transmission.
/***************************************
* * Title ...: PHP4 HTTP Compression Speeds up the Web
* * Version ...: 1.10
* * Author ...: catoc
* * Filename ...: gzdoc.php
* * Last changed: 25/08/
Counter
1) Text counter
$countfile = "/count.txt"; Set up files to save dataif (!file_exists ($countfile)) {//Determine if the file existsEXEC ("Echo 0 > $countfile");}$fp = fopen ($countfile, "RW");$length =filesize ($countfile);$num = Fgets ($fp,
Pre-Knowledge: Javascript, PHP (small)/perl (small)!
Test environment: Windows2000 + IIS5 + PHP (Win98 + PWS + PHP3 failed, estimated to be a problem with the configuration)
Directory structure:
/wwwroot/cgi-bin/fileup.php (File
Recently, the school anniversary, did a flash animation website, but the volume is relatively large. If uploaded to the school server, from the Public Information network access is relatively slow, and put to the education network from the campus
Yesterday saw a post (chinaasp) asked how to delete the directory, has been able to, but yesterday there was a problem, the original he just deleted his subordinate files after the deletion
directory So if there are several levels there is a
Implementation of the Send_mail class
Now I'm going to start by describing the sending message Class I wrote. With the above preparatory knowledge, the following is achieved.
member variables of the class
var $lastmessage; Record the last returned
if (eregi ("^[_.0-9a-z-]+@" ([0-9a-z][0-9a-z-]+.) +[a-z]$ ", $email)) {
echo "Your e-mail through a preliminary check";
}
?>
In this sentence, the first is the application of a eregi function, this function is good understanding. If you look for a
How to get information about the server in PHP mode? In fact, just three lines of code, that can easily get to the end of a file related information and the site information. The code is as follows:
$fp = fopen ("http://www.***.com/***.htm",
Imagine the dynamic generation of Flash animation on the site, this article let you step into the excitement of php+flash era.
PHP is such a good thing, I can't predict how she will change tomorrow ... Okay, here we are.
Describes how to implement
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