Author: mika [EST]Information Source: evil baboons Information Security Team
I am infatuated with scripts recently ~~~ After learning PHP, I read some articles on PHP security, so I found several sites on google to practice.It turns out that it is
In PHP, there are a lot of discussions about sessions. In fact, there are still several functions in PHP4 that we have not noticed at ordinary times.Let me introduce them to you.Session_set_save_handler () is really a good thing.//*******************
!! Note: before using this function, configure the php. ini file and session. save_hadler = user. Otherwise, session_set_save_handler () will not take effect.In addition, according to my tests, if you want this session to be used across pages, you
ForA for Loop is a very complex loop in PHP. It acts like in C. The following is the loop Syntax:For (expr1; expr2; expr3) statementThe first expression (expr1) is the value that starts unconditionally in a loop.At the beginning of each repetition,
Php generates WAP pageWAP (Wireless Communication Protocol) is an open global standard for communications between digital mobile phones, personal handheld devices (PDAs), and computers. Static WAP pages cannot meet personalized service requests in
If you need to reprint it, please indicate the source! (Thank you first ......) The configuration TAF of Oracle TAF is short for Transparent Application FailOver. Generally, the Application TAF is in the OPS/RAC environment. The purpose and idea of
// This script is used to enter a password for the user and determine whether the password is correct.// If it is correct, go to the welcome page.If ($ login ){Include ("../include/config. inc. php3 ");Session_start ();$ Right_enter = 0;$ Query =
My php4and mysqlsoftware packages are php-4.0.1pl2-win32.zip1_mysql-3.23.19-beta-win.zip.Install mysql first and use winzip8.0 to open the software package for full installation. The default installation path is c: mysql;After the installation is
Someone asked me in the forum how to count the number of online users? I don't know what is the best method. The following is the implementation principle of this site. I will write it for your reference. This is just my method. It is definitely not
This is a pure JavaScript clock generated using PHP.PHP code is not long, but JavaScript code is long.You can preview at http://disapart.oso.com.cn/temp/clock.php.You can also download the original file at http://disapart.oso.com.cn/temp/clock.txt.
Because it was written at work, I am afraid I am sorry if it is all posted by the Department, so I have deleted the form jump. Don't be surprised... The format is relatively standard PHP code: Example/*********** | + ---------------------------------
Q: Why is PHP better than other CGI? Is there any specific data that can prove the efficiency of PHP Execution and other CGI execution? Now my company uses C to write CGI. Will it be better if I change to PHP? Without a strong and powerful basis, I
| = This article is Haohappy read
> | = Notes in the middle Classes and Objects chapter | = translation + personal experience | = Do not repost to avoid unnecessary troubles, thank you | = welcome to criticize and correct, hope to make progress
These functions areIni_alter-change the configuration parameter valueIni_get-Get Configuration Parameter ValueIni_restore-Restore original configuration parameter valuesIni_set-set the Configuration Parameter ValueFor example, you can use
Print
Have you ever imagined how to dynamically generate flash animations on your website? This article introduces you to the exciting age of php + flash.I. Required SoftwareSwf support library: External.And of course it is php4, you can get from
[Programming language] PHP [source code source] http://px.sklar.com [function description] checks whether the ISBN number entered by the user (either with or without a hyphen) is legal. The source code is as follows:
//// Description // Recursive internal parse routine. this will recursively parse a // template containing dynamic inferior templates. each of these // inferior templates gets their own entry in the TEMPLATE array. // function & parse_internal_1 ($
As you know, in C, we can use # define to define a MACRO name and check whether the MACRO name is defined to determine whether the header file needs to be referenced. The same problem also exists in PHP. For example, A references B, C, and B to C.
When I tested a php space, I found that its error level settings were very sensitive,If the variable is not declared and does not affect the execution, the error message is output, as shown in
If ($ name = "") echo "name is blank ";?>Report
Author: bjbs_270Some time ago, I made a monthly report statistics and used the topic-like function. I wrote one using the mktime () function, but it was always wrong and depressing. I would like to take some time over the weekend to write one for
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