PHP Tutorial Error Report open detailed implementation
Definition and usageError_reporting () Sets the error level for PHP and returns the current level.
GrammarError_reporting (Report_level) If the parameter level is not specified, the current
MyAdmin method for installing PHP tutorials on personal space
Of course you have the MySQL Tutorial database tutorial. First download a copy of the latest version of the phpMyAdmin MySQL manager. Unzip to get a phpMyAdmin directory (you can rename)
If you're a PHP veteran, of course you know what happens when a php script goes wrong. At this point the PHP parser will give an error message on the screen, such as Fatal error:call to undefined function in line 19--so the program terminates here.
Let's start with an analysis of the verification code release process.
1, displaying the form
2, display the Verification code (the program that generates the verification code), encrypt the verification code and put it into session or cookie
3, the
Share an article about the details of the cookie and session differences, a friend who needs to refer to a valuable article. Cookies are often used to identify users. A cookie is a small file that the server leaves on the user's computer. Whenever
Today, let's see.
phpMyAdmin Configuration Tutorial, it can also be called
phpMyAdmin Installation, install I will not say, you directly to the Internet to download a
phpMyAdminUnpack the package to your site directory. Let's look at a simple
PHP Tutorial Chinese garbled
The Chinese name is garbled because:FCKeditor using UTF-8 encoding,Your own machine, like Windows.The file name uses the GBK encoding,Need in upload, change the code, from UTF-8 to GBK
==> first idea, transcoding ideas,
/* OP symbol (PHP) Action symbol
*
* According to the function of the operation symbol is divided into:
* One, arithmetic operator +-*/% + +--
* Two, string operators. Join operators
* Third, assignment operator = + = = *=/=%=. =
* Iv. comparison
At the time of development uft-8 page Chinese code garbled, in the Baidu search found the reason, there are solutions to the need for friends can refer to.
The code is as follows
Copy Code
Session_Start ();Generate
Let me explain in more detail about PHP generation static pages
Answer
Hello everyone, let me explain in detail the steps for PHP to generate a static page:
In order to study this static generation, I spent a lot of time to tell you my
The first is the PHP page encoding
1. The encoding of the PHP tutorial file itself should match the encoding of the Web page
A. If you want to use gb2312 encoding, then PHP will output headers: header ("content-type:text/html; charset=gb2312 "),
Make sure any user who needs to run PHP scripts has the right to run php.exe! IIS uses anonymous (anonymous) as the running account. This account must have the right to run Php.exe. And let IIS know about the PHP engine.
Iconv function strings in PHP convert from GBK to UTF8 character set
1. Iconv () Introduction
The Iconv function converts a well-known character set file to another known character set file. For example, convert from GB2312 to UTF-8.
The Iconv
This happens for some reason that the PHP module is not running smoothly. Please check the following three steps before asking for help:
Verify that you have just compiled the HTTPD program that you are running. Please run/path/to/binary/httpd-l. If
Its Project address: PHP Tutorial-debug-tools/">http://freshmeat.net/projects/php-debug-tools/
File Download Address: http://freshmeat.net/urls/7c58ae3fecce5763e7546b958d36e082
Current version 1.03
The occasional environment here is Window XP,
In the last section of this chapter, Zeev discusses the object model that the Zend engine brings, and how it differs from the models in the first few versions of PHP.
When we developed PHP3 in the summer of 1997, we had no plans to make PHP capable
PHP tutorial Chinese catalog include error resolution adapting
Include_path= '.; C:php5pear ' 's error
warning:unknown:failed to open stream:no such file or directory in Unknown on line 0
Fatal error:unknown:failed opening required '
The following is the line to be called in HTML
Today we're going to talk about how the PHP tutorial calls code such as
Include (".. /editor/fckeditor.php ");
$ofckeditor = new FCKeditor (' Fckeditor1
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