One, the following is the database write HTML program, you can join the password function. Send the password into a variable that is written in the following PHP program. This allows for password protection:
Database
Database
Today, after the update blog program, suddenly found that Google Toolbar PR bar added a little, but has been the Google Toolbar PR because of the buffer problem, so that the current display of the PR value is not necessarily the current page PR
Resource type
Two resource types are used in the MySQL module. The first is the connection handle to the database, and the second is the result set returned by the SQL query.
Pre-defined constants
The following constants are defined by this
Method 1:
List ($first, $second) =explode ("", $date _temp);
Echo $first;
Echo substr ($first, 2)
Method 2:
echo Date ("Y-m-d", Strtotime ($date _temp));
Method 3:
Echo substr ($date _temp,0,10). "
";
When a member exits the use of the framework
Solve phpMyAdmin Chinese garbled problem ...
Go to the root directory of phpMyAdmin and open the following file:
libraries/select_lang.lib.php
1, find the "zh-gb2312" of the line, the ' zh-gb2312 ' changed to ' Zh-gb2312-utf-8 '
Why do you
Delete articles in bulk this technology is not inscrutable, just want to write down to share with you. (Suitable for beginners:)
1, first in the article List page (list.php), the multi-choice basket named: "$del _id[]", the value of the article ID
Not NULL | Null: Specifies whether the column is allowed to be empty. If neither NULL nor NULL is specified, the column is considered to have null specified
In MySQL,
Set a null value for a NOT null field,
It's not going to go wrong,
MySQL
Features: Ajax webshop 3 from BETA2 to support the development of PHP, Ajax webshop Integrated PHP5 development environment, so no additional installation configuration PHP, this example will implement an AJAX for PHP simple data query operation,
Copy CodeThe code is as follows:
/*********************************************************************
* List of common functions
* ubb,getip,goin,goback,isint,instring
* ourhome:http://iwind.org
* Http://10.13.31.90/~coldwind
*
* */
UBB supports
Finally, the server backs up the MySQL database once a day and automatically packs it, deleting the backup files 5 days ago. Share the following:
1. Environment: Windows Server 2003 + Apache 2.0 + PHP5 + MySQL 4.0.26.
2. Assuming that the PHP
Let's take a look at the effect: http://www.healdream.com/upload/html/test_ascii.html
This is a PHP file generated by the BI logo effect is OK.
PHP source file Download: Http://www.51files.com/?GKGY4UWEK68EGCQS0MEZ
http://www.bkjia.com/PHPjc/31
One, MySQL installation
MySQL installation under the Windows platform is familiar with the standard installation welcome program.
If you do not need to change the default installation directory, click Next to complete the installation.
Follow the
The previous article, "PHP calls MySQL stored procedures," was tested and found that the method in the article does not seem feasible!
Calling a stored procedure with a SELECT statement appears PROCEDURE P can ' t return a result set in the given
Copy CodeThe code is as follows:
/*********************************************
*
* Program Name: PHP Enthusiasts message Board
* Demo: http://www.phpfans.net/guestbook/
*
* Author: I am not a fish
* email:deng5765@163.com
* Website:
Introduce yourself first, my name Hai, English name Hetty, my hobby is ... Well, stop, or skip it, lest be scolded, hehe.
Perhaps some people will wonder, why the name of the tutorial will be called "PHP learning by the side of teaching" it? The
Study the Cache_lite of pear today.
The latest cache_lite is downloaded from http://pear.php.net. Cache_lite is a lightweight cache library class in the Pear Library class. Indeed lightweight, the Code totals 4 files. lite.php cache/file.php
' Blowfish_secret ' uses an arbitrary string as the encrypted string of the cookie, and if there is no encryption key, the system will show "the configuration file now requires a top secret phrase password (blowfish_secret)", configured as
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