How do you debugPHP? How do you debug PHP?
What software is used?
My ide uses netbeans.
It is usually a line by line.
Alas, the code has an additional count,
It's a waste of morning.
Reply to discussion (solution)
Check apache
How does php display mysql's warning information? How does php display mysql's warning information?
For example, a table contains data whose type is date.
If I input a string in phpmyadmin, it will display the warning information.
However, if
Zendredirect jump is going crazy. For Help $ this-> _ redirect ("localhost/a/index ");
$ This-> _ redirect ("/index ");
Do I have to carry a domain name when redirecting from redirect ???
The first method for local testing is easy to use, but
Dede releases static page garbled characters. dede is of gbk version.
The template is also gb2312
After a static page is generated, open it. The utf encoding is selected by the browser by default. garbled characters are displayed. change the browser
In thinkSNS, the quotation mark escape issue is mentioned. in ts framework, the quotation marks and backslashes entered will be displayed incorrectly, for example, "Hello ", after the release, \ "Haoye \" is displayed. the day after tomorrow, there
Apache Port modification php I want to modify the Apache Port modification under AppServ to modify httpd. conf in F: \ AppServ \ Apache2.2 \ conf
Change Listen 80 in httpd. conf to Listen 9000.
Changed ServerName localhost: 80 to ServerName
PHP reads data from MySQL and outputs garbled MySQL:
The PHP file is as follows:
Header ("Content-Type: text/html; charset = utf-8 ");
$ Index = 0;
$ Con = mysql_connect ("localhost", "root ","");
If (! $ Con)
{
Die ('could not
Php regular expression matching problem $ t ='
Chrome
Test
';
$ Pre_reg = '/.*? Preg_match_all ($ pre_reg, $ t, $ matches );
Print_r ($ matches );
$ T I have omitted others and only left the main information, but even so, it still cannot be
PHP questions about passing parameters from the file_get_contens function to a local file
The source code is as follows:
$ Str_query = "userId = admin & gameId = game1 & serverId = server1 ";
$ Context = stream_context_create (array (
'Http'
Apigility-can it be based on the kohana framework? (Online, etc.) Ladies and gentlemen:
Apigility, a framework that provides APIs based on the zend framework.
Is it possible to use it based on the kohana framework?
Reply to discussion
How can I implement the feature similar to Zhongguancun category search in my recent project?
Reply to discussion (solution)
This may ask how to design a database... is there any problem?
Php + ajax
Assemble parameters, make styles, and
Is the result returned by the strrchr () function sometimes incorrect? Classic examples in the manual:
Echo strrchr ("Hello world! "," World ");
Output: world!
However, if you try again, you will find these wonderful results:
Echo strrchr ("Hello
200: The problem of setting HTTPHEADER to upload files in CURL! Which of the following heroes has the experience of using CURL to set HTTPHEADER to upload files?
Please advise
PS: not '@'. file name, but Content-Type: application/octet-stream
How to read and write data in PHP? How can I write the following data into TEXT? 600881; $ m; 800; buy; 0 contains constants and variables, but you should write them together and overwrite all the previous data. thank you for your advice ..
How does thinkphp work with memache and redis? php./ceh. php & runs the code on the linux background .. Then you want to disable the function .............
Another question is how to view the sent data.
Reply to discussion (solution)
For
Why can't I find this webpage during PHP-Eclipse debugging? WAMP has been configured. I just started learning PHP development today and downloaded WAMP. Currently, the green icon is displayed in the status bar. localhost can be accessed in the
If PHP calls C # Webservice and determines whether data exists? If PHP calls C # Webservice and determines whether data exists?
Reply to discussion (solution)
$ Obj_xml = simplexml_load_string ($ result );Print_r ($ obj_xml ); Your code is
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