finding compile time errors
- From: Jeff <jeff@xxxxxxxxxxxxxxx>
- Date: Fri, 13 Jun 2008 12:00:20 -0400
As I'm learning PHP, I'm making a fair number of mistakes in syntax.
In perl, you can turn on reading these errors from the browser by adding this:
use CGI::Carp 'fatalsToBrowser';
Is there something like this in PHP?
Or do I need to find the php.ini file and look to see where the error log is?
I spent some time trying to figure out why my class constructor crashed until I found that I was writing php5 on a php4 setup. What is most of the established base, is it 4 or 5? I see in the php docs that some examples use 5.3, considering that the latest stable release is 5.2 I can see how there might be a lot of hair lost!
Any recommendations on creating form elements? I've always used CGI.pm which handles all the gotchas. Is there anything that comes with the standard php install? All I really need is radio, select, checkbox and text... I'm used to writing what I need, but I'm also used to not reinventing a wheel that was written by someone far smarter!
Is there a standard include_path being used? Are there any standard extensions for included libararies, generally I'd like them to be seen *only* by the parent script.
Jeff
.
- Follow-Ups:
- Re: finding compile time errors
- From: Hendri Kurniawan
- Re: finding compile time errors
- From: Rik Wasmus
- Re: finding compile time errors
- From: Michael Fesser
- Re: finding compile time errors
- Prev by Date: Seeking suggestion on results re-ranking methodology
- Next by Date: Re: Pre-Analyze a PHP page?
- Previous by thread: Seeking suggestion on results re-ranking methodology
- Next by thread: Re: finding compile time errors
- Index(es):
Relevant Pages
|