Iis|mysql first, the PHP compression package (here to PHP4.3.2 as an example) extract to the C:\php-4.3.2-Win32 directory, and then find a file called php.ini-recommended, renamed him php.ini.
Second, open the document, find Extension_dir= "./",
web| Security | server | tips
Delete the virtual directory of the default established site, stop the default Web site, delete the corresponding file directory c:inetpub, configure the public settings for all sites, and set up the relevant number of
server|sql| Backup | data
Build a Bak folder Ah, put the data!
The db.asp code is as follows:
Dim connDim connstr' On Error Resume NextSet Conn=server. CreateObject ("Adodb.connection")Connstr= "Provider=sqloledb;data source=192.168.2.1; Uid=sa;
js| comparison |js Currently, the most commonly used three dynamic Web page languages are ASP (Active Server pages), JSP (JavaServer pages), PHP (hypertext preprocessor).
Introduction
ASP full Name Active Server Pages is a Web server-side
Baidu Application Engine (BAE) is a Web application development platform launched by Baidu. Based on the BAE architecture, developers don't need to maintain any servers, they can provide services to users simply by uploading applications. BAE has
PHP with more and more! Security issues are even more important! Here to explain if security configuration php.ini Security Configuration I (1) Open PHP Safe mode PHP's Safe mode is a very important embedded security mechanism, can control
1. Do not rely on register_global=on environment, from you just know how to configure PHP to run the environment not even understand Register_global On/off will have any impact on their own day, you should be brave to set it off.
2. See how to use
We want to count the number of people who visit the site over a period of time, there are a variety of solutions, you can use cookie,session combined with text or database to record the number of user visits. This article will use PHP, combined with
mysql| Shopping Cart
if (! $session &&! $scid) {
$session = MD5 (Uniqid (rand ());
Setcookie ("SCID", "$session", Time () + 14400);
}/* Last number are expiration time in seconds, 14400 sec = 4 hrs * *
Class Cart {
function Check_item ($table,
mysql| Pagination |
/* Store the table structure of the posts------------------------------------------------------
CREATE TABLE Bbsrow (
bbsrow_id Int (6) NOT NULL auto_increment,//posting ID number
Bbsrow_auth varchar NOT NULL,//Post
mysql| Counter | graphic /***
Hit_count table only one field Hit_count
Page_visit_record table is used to control an IP one day and only produce a counter beat
CREATE TABLE Page_visit_record (
Visit_time datetime DEFAULT ' 0000-00-00 00:00:00 ' not
mysql| Comparison | Paging hardware environment: PIII550,128M,15.2G
Software Environment: Win98+apache+php4+mysql
Programme I:
1. For the first query, use the Select COUNT (1) from tab where condition to obtain the number of records that meet the
Data | database | array?
$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
Paging is still just an idea, we see, not feasible:
After inserting a new record into the database, that is, once a message is published, all the data is paginated immediately, obtaining the first ID number of each page, such as 1134,1100,1080,1033
Apache|mysql used to microsft things, people also become more and more lazy:-) but still want Microsoft not to fall ~ ~, what new software package to get the first is can't wait to the CD-ROM drive inside a plug, if it can automatically run (Hey,
mysql|oracle| Comparison | data | database | Performance comparison of PHP with MySQL and Oracle database
Test hardware Instructions:
The test used is my love machine, configured as follows:
cpu:c433
Memory: 128M
Hard drive: Cool fish 2 generation 2
Discussion on user authentication of PHP (II.)
Popcorn December 28, 2001 Www.westxj.net
(ii) Multi-user authentication based on HTTP
The last time we introduced a single user authentication based on HTTP, this time using MySQL database
Multi-user
Mysql|session session is usually placed in the/tmp directory, and the folder's permissions are everbody readable, this is very scary! School Forum once someone through the session to steal account! So then try to put the session into the database,
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