How can I debug my php code?
Let’s learn how can I debug my php code. The most accurate or helpful solution is served by Stack Overflow.
There are ten answers to this question.
Best solution
I am just beginning my journey into PHP world and I chose Netbeans editor. I am using the latest one i.e V7.0.1 and setup WAMP. However, I don't quiet understand how will I debug my PHP code? My breakpoints don't get hit in Netbeans. Any help would be useful. Thanks.
Answer:
I would recommend using Xdebug. Read about Xdebug Remote Debugging, this integrates with NetBeans.
Jaggu at Stack Overflow Mark as irrelevant Undo
Other solutions
I am in the proces of migrating from IDEs to lighter editors. I have already found a comfortable way to debug my C++ code through CGDB, I was wondering how to go about it with my script languages both in command line (I found pdb for Python, but I was...
Answer:
When i'm developing a ruby or rails app i always put the ruby-debug gem in my Gemfile so that i can...
Adam Schepis at Quora Mark as irrelevant Undo
Answer:
Output is TestBecause $x is 4 and the echo statement prints value from the variable which begins with...
Anonymous at Blurtit.com Mark as irrelevant Undo
Ok, another PHP question... this one less stupid than my last one (hopefully). XML/XSLT.... [mi] I have some generated XML (from a php script that builds from a directory and contents)... I used and modified some code to do a transform: /** * * A class...
Answer:
xslt_process() is a bit touchy and tries to guess whether you're submitting a string of xml or a path...
pissfactory at Ask.Metafilter.Com Mark as irrelevant Undo
Cobalt RAQ4 comes with Apache/PHP4.1.2 pre-packaged. How do we debug PHP code in this system? The PHP is compiled with --dable-debug flag. My situation is that, I have some PHP scripts that runs just fine, but some others just simply gives Segmentation...
Answer:
Hi srinivas, According to the php.net site, PHP 3 includes support for a network-based debugger. PHP...
bsrinivas-ga at Google Answers Mark as irrelevant Undo
I want to use eclipse to code and debug my php project, but how to create a php project at first. I need you help.
Answer:
I am assuming that your using Eclipse along with the PDT (PHP development toolkit) plugin. If not then...
Royston Olivera at Quora Mark as irrelevant Undo
I like to code my PHP scripts on my Windows machine in TextPad, then upload them to the server to test/debug them. But constantly FTPing files while debugging is the pits. What's the answer? Install PHP locally? Break down and learn to use vi? What's...
Answer:
learn vi. Admiteddly, its difficult at first, but a breeze once you get the hang of it.
vraxoin at Ask.Metafilter.Com Mark as irrelevant Undo
Ok ... I have created just one form that enters a code and depending on the specific area codes , it will display the price per weight of what you want to be shipped .. but wen I click on the SUBMIT BUTTON , NOTHING gets displayed on the PHP form .....
Answer:
you left off a dollar sign on one of your "switchcase" where it says switchcase = 3. Also...
none at Yahoo! Answers Mark as irrelevant Undo
Hi all I have doubts in executing a php code.I use apache server at home.The .php file to be executed is placed in http docs folder of the apache and in the web browser we type http://localhost/.php in order to execute the php code. But If i am working...
Answer:
If the company's server is configured with php, you simply save a file out there with the .php extension...
Lekha at Yahoo! Answers Mark as irrelevant Undo
Hello - I just recently learned PHP and MySQL. I am now in the process of putting together my first page utilizing both of these languages. Currently I have one page, index.php, which takes a page passed by GET and loads the contents of that page from...
Answer:
Look at http://us3.php.net/eval Say that the variable that has the PHP value in it is $str. Use this...
Evan K at Yahoo! Answers Mark as irrelevant Undo
Related Q & A:
- How can I check captcha with PHP?Best solution by Stack Overflow
- How can I make a dynamic web page in PHP?Best solution by Yahoo! Answers
- How can I extract data of an external XML to PHP?Best solution by Stack Overflow
- How can I parse a complex XML with PHP and CDATA?Best solution by Stack Overflow
- How can I add a HTML code to My Yahoo homepage?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.