Here are three ways to get the name of the file prefix a friend you need to refer to.
Method One:function Extend_1 ($file _name){$retval = "";$pt =strrpos ($file _name, ".");if ($pt) $retval =substr ($file _name, $pt +1, strlen ($file _name)-$pt)
Database Tutorials
----Table structure for table ' category '--CREATE TABLE IF not EXISTS ' category ' (' id ' int (one) not NULL auto_increment,' Catpath ' varchar (255) DEFAULT NULL,' Name ' varchar (255) DEFAULT NULL,PRIMARY KEY (' id '))
1: If you open the page has garbled, don't worry, do not do any editing first. Remember.2: Then click the menu to Modify-"page Properties-" title/code3: In the Code select Simplified Chinese (gb2321)4: Click Reload-"OK"
Create a new Notepad (not a
PHP programs are buffered, regardless of the circumstances in which PHP executes (CGI, Web servers, etc.). This function sends all the output of the program so far to the user's browser.The flush () function does not affect the caching mode of the
15: What is UBB code UBB code is a variant of HTML, is Ultimate Bulletin Board (a foreign BBS program, there are many places in the domestic use of this program) a special tag.Even if you prohibit the use of HTML, you can use Ubbcode? Maybe you'd
Nationally, the criterion is whether $request_uri contains HTMLif (!strpos ($_server["Request_uri"], ". html")){$page = "http://qq.ip138.com/weather/";$html = file_get_contents ($page, ' R ');$pattern = "/ National main cities, counties and the next
Generate thumbnails $c = Array (' dir ' => './images ', ' newdir ' => './thumb ', ' W ' => ', ' h ' => ' 200 ');Process only files that contain small in the file name, and if all files are processed, set to '. '$only = '. ';
Set this row to 0 if
1,ini_get:returns The value of the configuration option as a string on success, or a empty string on failure (read PHP teaching The value in the path. ini configuration file) 2,; Whether to allow the treatment of URL (like http://or ftp://) as
Free hosting features:Up to MB data traffic is free of space! Speed up to 750 mb! Free! *RAID backed up every day + $5 free! *PHP 4 with databases (transfer positive domains or proofs to appropriate HTML websites)Small-scale industry (including
Many of my friends asked me how to use a php program to connect to a common class of SQL Server database. In fact, this is not very difficult. The key point is to be careful, patient, and understanding with passion.Class DB {Var $ Host = "192.168.0.1
ExposurePHPFive common problems in applicationsDatabaseProblems-including database pattern design, database access and use of database business logic code-and their solutions.If there is only one way to use the database, it is correct ......You can
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