For example:
a.php
$usernane
?>
To pass the $usernane value in a.php to another page (b.php) Implementation method:
Receive
echo $_get[' user '];
In this way, you can access the value of $username in b.php
b.php
echo $_get[' user '];
Small knitting today to write down about the background of administrator rights assigned to the idea of their own ideas
The thought of 0) {echo "Success";
}else{echo "Error";
}
}?> headhunting Service Add
There are several ways to implement PHP pseudo static:
1. According to $_server[' Path_info '] to operate the implementation.
For example, the address of your website is http://127.0.0.1/show_new.php/look-id-1.shtml.
The result of your echo
Before sharing the use of JavaScript in the client to split the name of the method, after the project needs, but also with PHP implementation, posted to share the exchange with you:
/** * Split full name into last name and first name * @param
PHP extension Development Error resolution [ERROR: ' Php_fe_end ' undeclared here (not in a function)].
PHP extension Development Error resolution [ERROR: ' Php_fe_end ' undeclared here (not in a function)].
Workaround: Enter the directory of the
Main and IFRAME Mutual communication class
has written a "iframe and the main frame Cross-domain Mutual access Method", introduced the main and the IFRAME mutual communication principle, do not understand the principle can be seen first.
Today,
Gather some of the knowledge points you encounter in the PHP learning process here. 1, Reset () pours the array's internal pointer back into the first cell and returns the value of the first array cell.
2,php is not licensed by the GPL, but its own
Today, I came up with a piece of code that tests the PHP function.
/*** Parameter Array $paramlist description** The first-dimensional index of the array is the parameter name of the function that needs to be tested, and each element of the
The software supports the PHP4 and PHP5 two versions, and the PHP5 version is used in this article. Note that the GD module of PHP should be turned on before use. gd.so for Php_gd2.dll,linux in Windows. Extract the compressed file to Apache and
Principle:
1.2.1. Deep precautions
The principle of deep precaution is a well-known principle of security professionals, which illustrates the value of redundant security measures, as evidenced by history.
The principle of deep precaution can be
Method one (with system variables)
Disadvantages do not use delivered addresses and hosts that do not support system variables
echo $_server[' Http_host '];
Method two (with its own function)
$url = ' http://www.51php.net/index.php?referer=51php.
GetImageSize
function: Get picture size [that is long and wide] usage: array getimagesize (string filename, array [imageinfo]);
Imagearc
Role: Draw arcs Usage: int imagearc (int im, int cx, int cy, int w, int h, int s, int e, int col);
Imagechar
calendar.php?/******************************** A function to determine whether a leap year* Can be improved according to more complex algorithms ********************************/function Leap_year ($year){if ($year% 4 = 0)//Basic rule{return true;
You do not have to abide by these principles strictly, and they will not be sentenced to religious punishment. But you should think of these principles as alarms, and if you violate one of them, then the alarm will ring. -----Arthur J.riel
(1) All
First, install Xdebug module
1, to www.xdebug.org download the corresponding version of PHP module files, save the downloaded file to the PHP ext directory, you can modify the name of the file, such as Save into: Php_xdebug.dll
2, modify php.ini,
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