Both ASP and PHP can delete their own

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

Static transformation of dede full-site URLs [070414 correction]

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 filtering rules (graphic tutorial)

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

Implementation in php of escapeunescape

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

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 and ask the member to click the attachment to download. a prompt window will pop up automatically.

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

Php's next function for converting Arabic numerals to Chinese numerals

Php's next function for converting Arabic numerals to Chinese numerals Function ch_num ($ num, $ mode = true ){ $ Char = array ("zero", "one", "two", "three", "si", "Wu", "Lu", "Jun ", "Success", "fail "); $ Dw = array ("", "pick", "audio", "audio",

How to install and configure IIS6/Apache2.2.4 + MySQL5.2 + PHP5.2.1 in Windows

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] simple tutorial on my micro-Forum [completed] _ php instance

[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

Use PHP to maintain file code

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,

Test your PHP proficiency _ php Digest

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

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

[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] practical functions 7

[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

Wp-settings.php for wordpress

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 for pw

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_

The Discuz forum post written by Haihe calls the php code of js.

The Discuz forum post written by Haihe calls the php code of js.

Php string truncation (Chinese truncation) 2. single-byte truncation mode

Php string truncation: Chinese interception 2, single-byte interception mode // Chinese interception 2, single-byte interception mode Function cn_substr ($ str, $ slen, $ startdd = 0 ){ $ Restr = ""; $ C = ""; $ Str_len = strlen ($ str ); If ($

[PHP] practical functions 5

[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

Optimize the php code for storing sessions using mysql

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

Total Pages: 12780 1 .... 11355 11356 11357 11358 11359 .... 12780 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.