The LAMP combination is good, but if you want to set up a Web virtual host server that supports PHP, ASP, ASP.net, JSP, Perl, or IIS 6 with Windows 2003, it's best. There are a lot of articles on the web that describe PHP on IIS 6, but those methods
The future of the web will be a service-centric WEB,XML_RPC standard that makes authoring and application services very simple. This article describes the XML_RPC standard and its PHP implementation, and demonstrates how to develop XML_RPC services
Last modified: 2011-8-11 17:50:10
Which tool do you use to write PHP code now?A: Generally it is using Zend's Zend Studio, I currently use the eclipse.org download PDT, faster than the Zend Studio 8, faster, although all based on Eclipse,The
Copy Code code as follows:
Class session
{
Static $sessionObject;
/* $_session[' user '] = = 0, don ' t work.
* = = 1, he is really user.
*/
Private Function __construct ()
{
if (! (Isset ($_session[' user ']) && $_session[' user ']==0)
1. How to configure PhpMyAdmin2.9
The profile of many tutorials on the network is for the phpMyAdmin version, at the beginning, even 2.9 configuration files do not know where to put?
The profile relative address is:
config.sample.inc.php(Not this
1.1 First PHP
Copy Code code as follows:
my-A-PHP program
echo "Hello everybody!";
?>
Attach: Use of phpinfo () function
1.2 Input PHP Script
1.2.1 Mark PHP Code paragraph
1.2.2 Statements and comments
/*
If you will only use Frontpage, Dreamweaver WYSIWYG editing mode to write the Web page, and completely do not understand the syntax of HTML, I am afraid that the first point to understand the HTML syntax, in order to successfully write PHP program.
Classic PHP thumbnail generation program, based on the GD library, you can specify the build path and build the goal of the wide and high detail use: In the PHP environment that supports the GD library, the following code is saved as resize.php test
Some little things can be used sometimes!
1. Get Client IP Address
function GetIP () {
if (! empty ($_server["http_x_forwarded_for"])) {//Use agent case
$tip = Split (",", $_server["http_x_forwarded_for"]);
$CIP = $tip [0];
}
Else
$cip =
This paper analyzes 10 different levels of compression optimized picture operation in PHP. Share to everyone for your reference, specific as follows:
Today find a PHP write compression picture program, can be divided into 10 levels (0-9) to
This article illustrates the method of PHP's self invocation (recursion) based on the closure implementation function. Share to everyone for your reference, specific as follows:
PHP closures may not be common, but in some cases you might consider
This article illustrates the comparison of php-fpm static and dynamic execution methods. Share to everyone for your reference, specific as follows:
Before the time to configure PHP-FPM, inadvertently found that he still has two ways of
In PHP, use header ("location:test.php") to jump to note the following points:
1, location and ":" No space between the number, or there will be errors.
2, in the use of header can not have any output, including the page included in the label "?>"
My framework inside a multidimensional array element action class, mainly used to read the configuration data in the array, through the string node way: A.B.C to get and set the elements, as well as multidimensional array coverage, there is a need
"HTTP Access"
Generally we visit HTTP way many, mainly is: curl, Socket, file_get_contents () and other methods.
If you encounter the other server has not been responding, we are tragic, it is easy to kill the entire server, so when accessing HTTP
YII implementation model Add a default value method (2 ways)
This article mainly introduced the YII implementation model to add the default value method, combined with the example analysis in the rules () method and in the BeforeSave () method to
PHP output JSON and display the Chinese characters in JSON
In PHP, we often need to output the array JSON, only need to use the Json_encode function to deal with the array, but sometimes the array has Chinese, using the Json_encode function to be
PHP Common depressed problem answer
Transfer from Joy Village
Register_global defaults to off in later versions of PHP4.2
to obtain a variable submitted from another page:
method One:Locate the Register_global in the php.ini and set it to
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