Re: [nyphp-talk] Book recommendation for JS/AJAX?

2011-07-08 Thread lorband
I also recommend JavaScript The Definitive Guide by David Flanagan. Loretta Bandera - Original Message - From: Aaron Fischer Date: Thursday, July 7, 2011 11:47 am Subject: [nyphp-talk] Book recommendation for JS/AJAX? To: talk@lists.nyphp.org > Hey guys, > > I'd like to spruce up my htm

Re: [nyphp-talk] Can I set the response code if a PHP Fatal error occurs?

2009-02-17 Thread lorband
Your reply is perfectly logical but I am trying not to redesign alot of code. The PHP code is currently designed to return a string or nothing depending on the action taken. If a fatal error occurs, nothing is returned which unfortunately is also a valid response. P.S. set_error_handler will n

[nyphp-talk] Can I set the response code if a PHP Fatal error occurs?

2009-02-17 Thread lorband
I am using AJAX to submit a PHP request. If a PHP Fatal error occurs when running the php program, the http response code is 200 and it appears the program ran successfully. Is there a way for php to return a 500 http response code when a fatal error occurs so myjava_script that is processing t