How to debug and deploy php

I know how to debug and deploy php. after adding the php module to apache, I can parse the php file. but I still have a lot to worry about in development and debugging. please enlighten me. Current Environment: apache2.2 + php5 + zendstudio5.5 +

A newbie has a problem.

A newbie has a very hard problem. Why does the following code output a wrong logon password ?? Using var_dump ($ num1), we found that $ num1 and $ num2 are of the string type no matter what num1 is input in the html field. & lt ;? Php $ num1 = $ _

Questions about the garbled characters in the parameters passed by the phpget method

About phpget method to pass Chinese parameter display garbled problem Overview: using get method to pass parameters, parameters with Chinese, submit page after obtaining the parameter value displayed garbled, page code is UTF-8. Detailed description:

How to use memcached

How to use memcached? I am working on an online Q & A System. I refresh questions on the same interface. each time I click the next question, I refresh the question. process: 1. obtain the question from the database (after obtaining the question, $

Understand xdebug configurations.

After understanding the xdebug configuration, you can see that the configuration is successful on the internet. phpinfo () also has configuration content, but the debugging error is the same as before. I don't know what's going on. var_dump has no

Flock () parameters

Flock () parameter question what is the difference between the three flock parameters ?? & Nbsp; 1. LOCK_SH & nbsp; 2. LOCK_EX & nbsp; 3. LOCK_UN, check the problem of http://www.w3school.com.cn/php/func_filesystem flock () parameter. What is the

Does php have objects and cache? (Coming soon for php)

apc

Does php have objects and class caches? (Coming in with expectation for php) after nine years of php, I started webgame in a new company. I used to work in java at the same time, he introduced java to me today, reminding me of php's inability to do

How can I log on to Discuzx2.5 directly with an existing member?

How can I directly log on to Discuzx2.5 with an existing member? A forum is required for a website. The original membership system is complex due to various permissions. Can I associate a user with a forum without using Ucenter? Such as synchronous

Questions about the automatically selected items when the select pull-on box is edited (in the smarty template)

PHPcode & lt; select & gt; & lt; % sectionname = secloop = $ array_ AB % & gt; & lt; optionvalue = & quot; & lt; % $ array_ AB [sec]. vab_id % & g question about automatic selection when editing the select drop-down box (in the smarty template)

Evaluate a PHP regular expression

Evaluate a PHP regular expression, such as online & lt; tablestyle = & amp; quot; display: block & amp; quot; & gt; & lt; tr & gt; & lt; td & gt; & amp; lt; div & gt; & amp; lt;/div & gt; & lt;/td & gt; & lt;/tr & gt; & lt; trstyle evaluate a PHP

Php file downloading

Php file upload problems? Html page code: HTMLcode & lt ;! DOCTYPEhtmlPUBLIC & quot;-// W3C // DTDHTML4.01Transitional // EN & quot; http://www.w3.org/TR/html4/loose.dtd& php file Upload question? Html page code: HTML code File UploadFile

How can I generate a multi-dimensional array from the SQL query results?

Q: How can I generate a multi-dimensional array of SQL query results? I want to implement this function: I pass a string of numbers for SQL to receive. The number format is the ID value of the dish, similar to "1, 2, 3,", after query, it can be

How can I avoid executing my exception handling code?

Why didn't I execute my error handling code? PHPcode & lt ;? Php // define the Error_Handler function/*** define the Error_Handler function *** @ param $ error_level error level ** @ param $ error_mess help me see why I didn't execute my error

Mysql execution in php

Mysql execution in php & lt ;? Phpinclude (& quot; conn. php & quot;); $ yuanxi =$ _ POST [yuanxi]; if ($ yuanxi ==& quot; & quot;) {echo & quot; no mysql execution problems in Department & quot;} else {$ SQL = & quot; updateyuanxi php Include

The above code calls data within 24 hours. how can I change it to data of one month or one year?

The following code calls data within 24 hours: how can I change it to PHPcodeprivatefunctiongetList ($ where = '', $ no_query = false) {global $ _ FANWE; if the following code is used to call data within 24 hours, how can I change it to data of one

A basic PHP-related question

A basic PHP problem: assign a string to an array. String: $ str =,; array: $ array = array ); I want to use variables as parameters to pass values to the array. how can I write them? The following statement is incorrect: $ array = array ($ str);, P

Php uses curl to determine whether an image or page is complete

Using curl in php to determine whether an image or page is complete in PHP is a good thing. curl can be used to determine whether a file or page can be opened, such as functioncheck_url ($ url) {$ ch = curl_init (); curl_setopt ($ ch, CURLOPT_URL, $

Function algorithms for converting php Data into Chinese characters

Php numeric to Chinese character function algorithm php numeric to Chinese character function/************************* numeric to Chinese character ** * *******************/functiondel0 ($ num) // remove the 0 {retur php numeric-to-Chinese

Six methods for php to call a remote url

Code 1: get content using file_get_contents ??? & Lt ;? Php $ url = 'http: // www.baidu.com/'{}html}file_get_content php six methods to call a remote url Example code 1: Use file_get_contents to get content in get mode??? $ Url = 'http: //

PHP intercepts Chinese (UTF8)

PHP intercepts Chinese (UTF8) functionSubTitle ($ String, $ Length ){? If (mb_strwidth ($ String, 'utf8') & lt; = $ Length ){?? Return $ String ;?} Else {?? $ I PHP intercepts Chinese (UTF8) Function SubTitle ($ String, $ Length ){? If

Total Pages: 12780 1 .... 9882 9883 9884 9885 9886 .... 12780 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.