One, the following is the database write HTML program, you can add password function. Make the password into a variable and send it to the PHP program written below. This enables password protection:
Database
Database management program
This is the first time the younger brother writes an article. I don't know if I can release it. I write out the program is to want you to refer to. If you have a master who can change a better program,
Please don't forget to tell me. :P
The source
$fp = fopen ("http://www.***.com/***.htm", "R"); To open a file under a Web in a read-only manner
foreach ($http _response_header as $info)//$http_response_header The file information header of the loop
echo $info. " "; , "R"); To open a file
At the same time, there are a number of functions that can be implemented in a variety of ways, which require flexible application. Only remember these functions, to develop a dynamic web site, and only more practice, the entire site development
Expand your PHP
Expand your PHP
3 Ways to expand
extension of extension DLL method
Summary
First of all, all of the following are carried out under win, using the tools of the vc++6.0.
Expand your PHPPHP quickly and quickly in
Using PHP to set and read cookies is an extremely--we dare say? -The simple thing. We don't want to preach cookies, but they are both important and practical. They are the only tools available to solve certain problems.
To create and modify a cookie,
This example for you to share the PHP micro-letter Baidu Weather Forecast development code for your reference, the specific content as follows
1. Login Baidu AK Application:Http://lbsyun.baidu.com/apiconsole/key
2. Realize Weather information
This article describes the PHP rewrite file_get_contents function based on curl. Share to everyone for your reference, specific as follows:
File_get_contents when the connection is not on the hint connection refused, sometimes inconvenience; In
The main purpose is to record the parameters of post;
The main principle of the following function is the application of recursive method, the multidimensional array into a one-dimensional array, and finally the array of string processing can get
The PHP Print_r method allows variables to be printed so that the variables are easy to understand. If the variable is String,integer or float, the variable value itself is printed, and if the variable is array, the keys and elements will be
The empty effect of the content diagram is:
Fill in the Content effect chart:
The following is the code for the validator:
Form validation * required fields > Name: e-mail: URL: Remarks: Sex: Male ";
echo
Unlimited class classification is a design technique that is often used in development, such as: Site Directory, departmental structure, article classification. I think it plays a great role in the hierarchy of the design table, for example, in some
Caching refers to the temporary file Exchange area, where computers put the most commonly used files out of storage and put them in the cache temporarily, just like putting tools and materials on a workbench, which is more convenient than going to
Copy Code code as follows:
/**
* Calculate the program specification of the catalogue, including the number of files, the number of rows, the number of digits
*
* @version 1.0
* @since 1.0
* @access Public
* @author Ryan
* @copyright
Copy Code code as follows:
Class Code
{
var $width = 160; The width of the picture
var $hight = 40; The height of the picture
var $image;
var $red = 223; RGB color of a picture
var $green = 225; Red
var $blue = 227;//Green
var $pix = 227
Just like the address path in my log, let Index.php?action=one&do=two
Become:? index/action/one/do/two
Copy Code code as follows:
index.php
--------------
Parsing QUERY STRING
$QS =explode ("&", $_server[' query_string '));
$QS
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