First, you need to
Add a file under the Thinkphp\lib\think\template\taglib\ directory named: TagLibZpass.class.php
TagLibZpass.class.php:
/* ZPass custom Label design by ZPass 16852868@qq.com, please do not add QQ friends--! */
Class
Get_current_user () Gets the name of the owner of the current PHP script
substr (sprintf ("%o", Fileperms (GETCWD ())),-4) Get current File/directory permissions
Scandir (GETCWD ()) Get the current directory all files/directories
Print_r
In the Internet cafes to look at the time, due to the presence of the movie in the page search function (user input)
This function because can not be made static, then only can be dynamic, with the dynamic time to the database, server pressure
As for the PHP connection mssql2008 method can refer to my blog other articles will be introducedOperation.We can first read the download of the plugin inside the Help file, which is written in a very detailed unfortunately in EnglishYou can also
Write a software in C #, do not know Google's interface in C # write feeling too troublesome
So in csdn downloaded a copy of the code, changed to the interface with the software query.
Http://www.xssxss.com/pr.php?url=www.google.com
Code
$url =
Author: Tony Reeves ()Publication date: 08/08 16:521. Installing PHP4Software obtained: foreign http://www.php.net, domestic http://www.phpchina.com,http://phpuser.com, etc. get compressed after the package is extracted to the C:PHP4 directory. Copy
Merging, splitting, and distinguishing function sets of PHP arrays
It is said that the PHP array function is very powerful, only really used in the project work can feel, at least I think, now has slowly discovered the mystery of it ...
Merging
When analyzing the data, the way to use the chart is very direct image, and the dummy table can have interactive ability, then the effect will be better. In this article, you'll explore how to use PHP with Open Source Report Library Fusioncharts
2010 should be remembered, because SQL will die this year. This year the relational database is dying, and this year developers find that they don't need a long hard time constructing columns or tables to hold data.
2010 will be the starting year
Originally this CP is a single SMS interface, for a variety of reasons need to achieve mass, each edit a piece of information, mass website all members (tens of thousands of member records), the program difficulties in from MySQL to MSSQL different
Easy to understand
Image "Like two people fight, you have to use the program to describe it, oriented structure, you are each step of the rally are written, such as what the other side out what tricks, you have to write every step, the
A few days ago saw the function of the Baidu Music box, found that there are lyrics function
The lyrics are usually in the LRC format, there is time, if you want to use as text without time, the text inside the time period will become a
first, small order
HTML is easy to learn and generic, the general PHP program is embedded in the HTML language implemented. But with the web becoming more and more widely used, the weakness of HTML is becoming more and more obvious. The advent
never trust external data or input
The first thing you must realize about WEB application security is that you should not trust external data. External data (outside) includes any data that is not directly entered by the programmer in the PHP code.
We often see the statistical code of many Web sites are displayed in the form of JS calls, let's look at how that example.
$countfile = "Num.txt";//the file that the definition counter writes to is count.txt in the current directory,
By setting the Content-type to Application/octet-stream, the dynamically generated content can be downloaded as a file, which we believe will be. Then use the Content-disposition settings to download the file name, this also has a lot of people know
We open the WinRAR Help file, the Help file mentioned in the command line mode to modify the RAR file comments and add a compressed document two parameters are Ac,winrar the following:
Add all *.hlp files from the current folder to the compressed
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