Step on a pitfall, and collect a golden php Data type. The point is "broken ~
Php has been learning and writing for more than a year. The weak language of php is quite different from the languages of c, java, and as3, I am glad to learn
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
CURL cannot request that the local CURL and file_get_content are both the same. when the request is made locally, the page loading times out for a long time, but other addresses can be requested, either 192.168.1.1 or baidu.com.
The environment is
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
Before uploadify was uploaded, there was no error in using uploadify to upload files. Recently, a program was developed to use uploadify to upload most log files, including formData parameters, however, some log files cannot be uploaded successfully.
Php security problems when uploading a website, there is always a warning of undefined constants and variables. Website installation
You don't have permission to access/blog/onSubmit = "return on this server.
However, httpd-conf has been
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
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
PHP obtains the select value. click the link to upload it to the first page of the next page:
Select cooperation service station:
Be sure to select the shipping address
{$ Tt [name]}-{$ tt [address]}
Second page:
I would like to ask you some questions about thinkphp development. I just got started with the MVC development mode. when thinkphp is used for development, the forms submitted by the user, is form verification on the c layer or the m layer?
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
Php $ _ SERVER
$ _ SERVER ['http _ ACCEPT_LANGUAGE '] // browser language $ _ SERVER ['remote _ ADDR'] // IP address of the current user. $ _ SERVER ['remote _ host'] // Current User HOST name $ _ SERVER ['request _ url'] // URL $ _ SERVER ['remote _
If you encounter a problem, it is difficult to use the methods provided on the internet. ask Warning: mysqli_real_connect (): (HY000/2002): No such file or directory in
Reply to discussion (solution)
Too little information is provided
For some
Following Xin Xing's explanation of json usage in PHP, because json is so important, PHP has added support for JSON since 5.2, mainly including two functions: json_encode and json_decode. As we all know, json is a data storage format. I wrote json
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