###############################################
This article is original, if quoted, please indicate the author's information.
Author: Cool Crazy
Email:edincur@yeah.net
Http://safebase.yeah.net
###############################################
# #
This can be used to authenticate users and generate random passwords--teaman
//----------------------------------------------------
Function GetSID ()
//
Parameters: $nSize number of caracters, default 24
Return value:24 caracters
The system can be entered into the title, content, pictures, related software, the display will be based on whether there are pictures and related software to determine whether to display the content, open the page is displayed is the latest piece
This is the system of download.php, mainly responsible for downloading and counting, wherein the file format is described in the comments.
Incoming num is the file number to download, col= the columns to download
IP does not timeout download
Hello everyone! Long time did not see everybody, last wrote the use of PHP through the file operation of the chat room, of course, is a flawed, and every time the screen refresh is very bad! I think for a long time, is there a way not to refresh,
In our site design process, often use multi-conditional query, the source of this article is a second-hand housing query example. In this case, we are going to be able to find the information that we need through a number of conditions, such as
ODBC refers to the Open data connection, which is Microsoft-led data driver, it can connect with other data, through the SQL language to manipulate the data, of course, PHP also provides a function of the ODBC data connection,
The connection between
/*******************************************************
Author: Wu Zhenhen (Biz)--phpscript
E-mail:wuzhenheng@china.com
web:http://phpscript.osh.com.cn
File name: AdRotator.class.php3
Copyright Notice:
If you use this file, please write an e-mail
Enterrm.php3
The code is as follows:
$ConnID = @odbc_connect ("Jtfcht", "admin", "");
if ($ConnID) {
$result = @odbc_exec ($ConnID, "select Password,lsttime,roomid,refrate from User WHERE userid=". $id);
if (@odbc_fetch_into ($result,0,& $rArr)) {
$
5. Layout module Design
The so-called classification, more for the Telnet server to consider, in cq66 mode, users can press
According to their own will to classify, anyway, the final is directly to the basic unit to access the version.
For the
/*
If reproduced, please indicate the author
Original Author: he Zhiqiang
Improvement: sonymusic[Sonymusic@163.net]
Files: ubb.php
Note: Say is improved, in fact, the core function parse () has been completely rewritten, and the idea is not the
1. System Architecture:
Using modular thinking, divided into 3 layers:
A. Data storage layer: Use MySQL to store all BBS data, including user information,
Article data, user letters, user messages, system data (? ), the key question:
Database
A simple navigation bar program written in PHP
Navigation bar Configuration Description: The default display is the directory name
If you do not want to use the directory name, remove the following line of comments and modify the array
When using the program, it is generally necessary to determine the PHP version number after the integer, so that the output can be determined.
$temp =explode (".", Phpversion ()); Get the version number as an array
$num =count ($temp);
To list all the files in the specified directory in a tree structure, if you want to know what subdirectories and files you have in a directory, it is convenient to call this class to view it.
# Examples of demos:
$t = new Treeclimber ("ASP"); To
# CD/USR/SRC
# TAR-ZVXF mysql-3.22.25-pc-linux-gnu-i686.tar.gz (Generate mysql-3.22.25-pc-linux-gnu-i686 directory)
# CD mysql-3.22.25-pc-linux-gnu-i686
#./configure--prefix=/usr/local/mysql (where parameters are set to install the path)
# make
#
This is a very useful program, you can make a specific search for text files, and replace the specified text with a specific text, for example, if I have a word in this article all wrong, there are dozens of, to find out to modify is a very
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