Both ASP and PHP can delete their own z. asp
The code is as follows:
S = Server. MapPath ("z. asp ")Set fso = CreateObject ("Scripting. FileSystemObject ")If fso. FileExists (s) ThenFso. Deletefile (s)End IfSet fso = Nothing%>
Z. php
The
Dede static modification of the whole site URL [070414 correction] 1. Copy include to the include directory on the website.
2. modify the database
Set all documents to "dynamic only". you can go to database management and execute the following
Dede3.1 detailed description of paging text collection and filtering rules (graphic tutorial) This article aims to use a representative text paging sampling rules and filtering rules as a blueprint, through simple change and modification, solve the
Function escape ($ str ){
Preg_match_all ("/[\ x80-\ xff]. | [\ x01-\ x7f] +/", $ str, $ r );
$ Ar = $ r [0];
Foreach ($ ar as $ k => $ v ){
If (ord ($ v [0]) $ Ar [$ k] = rawurlencode ($ v );
Else
$ Ar [$ k] = "% u". bin2hex (iconv ("GB2312",
Code for implementing line chart effects in php
Class ImageReport {
Var $ X; // Image Size X axis
Var $ Y; // the Y axis of the image size.
Var $ R; // R value of the background color
Var $ G; //... G.
Var $ B; //... B.
Var $ TRANSPARENT; // whether
Discuz! 5.0.0 add a piece of js code to the Forum program, so that the member will automatically pop up a prompt window before clicking download attachments. you need to modify the attachment. php file in the root directory.
Add the following
In Windows, IIS6Apache2.2.4 + MySQL5.2 + PHP5.2.1 I read a php book in 03 years of installation and configuration method. it was still php3 at that time. looking back at the four years of development of php on the web, the prospects are still bright!
[Php] a simple tutorial on my micro-Forum [completed] I have been working on ASP and recently started to learn PHP. The first work is this micro-Forum (also called the message book). although there is no technical content, it is difficult to get
Using PHP to maintain the file code PHP has a lot of functions related to the file system, which not only helps you open files, but also displays directory content, move files, and so on. Many even use PHP to write a Web-based file manager.
First,
This interesting test is available on Unix Review to test your PHP level.
UnixReview.com
May 1, 2007
Test Your Knowledge of PHP
By Emmett Dulaney
From: http://www.unixreview.com/documents/s=10130/ur0705d/
Increasingly, PHP seems to be the
PHP Security Configuration method described in the wooden wing download system
I. Web server security
PHP is actually a module function of the Web server. Therefore, you must first ensure the security of the Web server. Of course, to ensure the
[PHP] function 6 // send an email to the specified email address. subject indicates the subject and message indicates the Mail content. The additional option additional_headers can be omitted, indicating the header of other mail documents.
Bool
[PHP] function 7 // open a connection to the MySQL server. Returns a connector. if the connection fails, returns false.
Int mysql_connect ([string server [, string username [, string password])
// Open a persistent connection to the MySQL
Wordpress wp-settings.php to start wp-config.php, wp-settings.php these two files, wp-config.php so the name of the meaning of the configuration file so there is nothing to explain.
The top function of the wp-settings.php, wp_unregister_GLOBALS,
Analysis of a webshell method in pw
Data \ bbscache \ admin_record.php records background login and operations. let's see how this file is operated:
Admin \ admincp. php:
$ Bbsrecordfile = D_P. "data/bbscache/admin_record.php ";
If (! File_
[PHP] practical function 5 // converts the binary representation of a number to hexadecimal
String bin2hex (string tring)
// Remove spaces at the end of the string
String rtrim (string)
// Rtrim alias
String chop (string)
// Remove spaces from
I have written two articles before optimizing the php code for storing sessions in mysql: Custom session (II)-database saving and why I don't use SESSION
However, all problems were found later. The former processing is practically useless in
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