Delete the construction:
Reference
if (file_exists ("file.htm"))//check for the existence of this file
if (file_exists ("chat"))//Check if this folder exists
Rename (' index.php ', ' Index '); Rename the index.php to index
fopen ("name.php", "A +");
Use sock technology to send mail without server support. The speed is fast!!
Copy Code code as follows:
function Send_mail ($to, $subject, $body)
{
SMTP information that can be modified to your//////////
$loc _host = "Longbill"; The
Vulnerability description
Development of the file upload function is very common, as developers, in the completion of the function on the basis of our general to do a good job of security protection.File processing generally contains two functions,
Objective:
PHP to achieve QQ fast login, listed three ways
method One: process-oriented, callback address and first triggering login write to a method page "because there is an if to judge",
method Two, three: Object-oriented
1. Call the login
The code for PHP to generate the TAB key or comma-separated CSV is as follows:
The above is a small set of PHP to introduce you to generate the TAB key or comma-separated csv, I hope to help you, if you have any questions please
1.openflashchart is a more practical icon rendering plug-in, but also open source, url http://teethgrinder.co.uk/open-flash-chart/
2.FlashChart class
Copy Code code as follows:
Flashchart Class Code
Class Flashchart
{
Private $id;
Straight into the subject:
Micro-Credit public account development document, the official version (Https://mp.weixin.qq.com/wiki), believe me, I have been unable to spit slot to write this document, I really want to chop this keyboard, but after
Adminconfig.php This is the configuration of all file permissions in the background system.
Fun.php This is a functional function
left.php website Background According to the user login ID to load the corresponding function menu
op.php Invoke
Support text watermark, image watermark
Watermark is supported at random or fixed position (nine Sudoku)
Watermark Transparency Settings (both image watermark and text watermark are supported)
font, color, size settings for text watermarks
The
Step one: Download the PHP 5.2 for Windows installation package and extract it to C:\php. Note that this decompression directory can be under any disk, but the directory name cannot contain spaces;
The following is the php5.2 file directory:
c:\php
Wen/Xu Yongju
We know Zend has a free tuning engine for PHP, but freelamp this time with a buffer product called PHP Accelerator.
We described several ways to accelerate in the LAMP acceleration article, which refers to the PHP accelerator, which
PHP has many file system-related functions that not only open files, but also display content, move files, and other features in the directory, and many people even use PHP to develop internet-based file Explorer.
The following script sample can
One of the advantages of PHP is that the speed of the general Web application, can be said to be enough. However, if the site's access is high, with narrow or other factors causing the server performance bottlenecks, you may have to think of other
I do not know whether to learn PHP has a future ~ hey more write more boring
The start of Class Createdb//Classes
{
var $db = "localhost";//database address;
var $dbname = "root";//user name;
var $dbpwd = "";//password;
var $dbtable =
Building a simple interactive website (iii)
6. Password verification
Maybe you want to put your photo album on your website and just want to show your intimate friends that you need a password verification program.
6.1 Based on HTTP
Customize the routing function, specify the URL to PathInfo, and upgrade the script before
simpleloader.php
$v) {if ($k ==0) continue;
$_server[' path_info '].= '/'. $v; }}//Routing mode public static function router ($rules) {if isset
Objective
In PHP rendered page header information, will contain the version number of PHP information, such as: x-powered-by:php/5.3.3, this is somewhat unsafe, some hackers may be scanning the way to bulk search for a lower version of the PHP
Objective
A link is a hyperlink that links from one element (text, picture, video, etc.) to another (text, picture, video, and so on). There are three kinds of links in the Web page, one is an absolute URL hyperlink, which is the full path of a
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