?
/*
* Etc.passwd.inc v1.0
*
* Syntax:
* VERIFYPASSWD (String USERNAME, String PASSWORD)
*
* The function would return one of three values:
*-2 If there was a file reading error
*-1 if the password is incorrect
* 0 if the username doesn ' t exist
* 1
reguse.php User Registration and Login page
?
if ($action ==dl&& $uname)
{
$uinfo = $uname. "|". $upass;
Setcookie ("Flyfoxnet", $uinfo, Time () +3600);
}
?>
User Registration
Include "linkfox.inc.php";
Include "info.inc.php";
Include
session| reference When a user who does not have a session opens a Web page in the application, the Web server automatically creates the session. When the timeout or the server calls the Abandon method, the server
The session will be
The reference Global.asa file is an optional file in which users can specify event scripts and declare objects that have session and application scopes. The contents of the file
Displayed to the user, but is used to store event information and
Page One,
' Setup the variables necessary to accomplish the task
Dim Timerstart, Timerend, Timernow, timerwait
' How many seconds do your want them to wait ...
timerwait = 5
' Setup and start ' timers
Timernow = Timer
Timerstart =
Password query: class/querypsw.php
Ask Password
Include "config.php";
Ask the class registration question password
if ($class) {
$headers. = "content-type:text/html; Charset=gb2312n "; Mime type
$subject = "Ask the class registration question
Functions | page | repeat
Because I need to do a function,implement get page connection put into arrayInTrain of thought: 1, get static + without parameter:HTM HTML asp php jsp CGIA, including absolute path processing: direct
/*
Tofu production is a boutique
Http://www.asp888.net Tofu Technology Station
If reproduced please retain the full copyright information
*/
/*
The prefix of this OutputCache means that the length of time that this page is kept in the server is
First, the type of your form is set to action= "Uploadresult.asp" method=post>
Please choose a picture to upload:
Then the next page, separated by the way to separate the text, at this time can not use Request.Form, should be changed to
FormData
Data | Database database structure (SQL Server):
ID int Auto ID
PName nvarchar
pname1 varchar
IMG1 image
Img2 image
These are some of the code I wrote for an enterprise that wants to maintain its own product database (including pictures and text
Data | database ' filename:add.asp
'---------------------------------------------------------------------------
------------------------------------
If session ("Ispass") =1 Then
Dim
Microsoft's masterpiece ASP (Active Server Pages) is starting a new Web programming revolution (in the strictest sense, writing ASP is not programming) for its ease of use, scalability, and functionality. It replaces the momentum of CGI (Common
/*
Tofu production is a boutique
Tofu Technology Station Http://www.asp888.net
If reproduced please retain the full copyright information
*/
Finally has the time to publish the article today, because this year the Spring Festival tofu has gone to
Program | Essence everyone in the process of debugging a program, sometimes this program is very long, more than hundreds of lines of code, if your program is written and messy, at this time usually do not know what they wrote, some people are lazy,
Source Code
--------------------------------------------------------------------------------
'******************************************************************************
' ********************** do not DELETE **************************************
Counter
This tutorial belongs to the original download, reproduced please indicate from the Web page teaching networkDescription
The realization principle is: Use PHP function function to read the data of the text file, thus realizes the statistic
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