Also add ini_set('display_errors', 1); in the same place you put error_reporting On Sep 11, 2012 10:35 AM, "I H" <sely...@yahoo.com> wrote:
> Thanks Petros, It has being awhile that I have ventured back with php, and > have forgotten some of the commands and skills. I will do as you suggest > and try to find a resolution. > > > > > *** > > Ian Hayles* > Design Engineer > <http://www.amway.com/mianibo>www.idealcardrates.com > eFax: (805)669-4910 > CELL:(407) 923 - 6611 > > ------------------------------ > *From:* Petros Ziogas <petros.zio...@gmail.com> > *To:* NYPHP Talk <talk@lists.nyphp.org> > *Sent:* Tuesday, September 11, 2012 6:57 AM > *Subject:* Re: [nyphp-talk] contact us and handle forms > > Most of the times when someting like that happens, it is because the > server has display_errors OFF. > > a simple test for that is to just generate and an obvious error (e.g. just > a line with aaa) and see if you get an error. > > Also many setups doesn't allow you to change php setting on the fly but > you must use .htaccess, your own php.ini or some other way. > > To test that try changing the error reporting level as you were adviced > too and then write phpinfo() to see if the setting is changed. > > Petros Z. > > > On Sun, Sep 9, 2012 at 5:01 AM, <m...@stackware.com> wrote: > > On 9/8/2012 16:27, I H wrote: > > Hello: > Wonder if you guys can assist me with this. I have a contact form in > html and a handle form in php. I have used the same forms many times > with other sites and it worked ok. But for some reason, this time when > i click on the "Send Message" button I get a blank screen, I have being > over it and still cannot see my error. I am attaching the forms for > your assistance > Thanks in advance > > > If you were to run this somewhere where error reporting was turned on, you > would immediately find out that you have a parse error in line 100. > > -- > ================= > Michael Southwell > Vice President, Education > NYPHP TRAINING: http://nyphp.com/php-training-indepth > > ______________________________**_________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/**mailman/listinfo/talk<http://lists.nyphp.org/mailman/listinfo/talk> > > http://www.nyphp.org/show-participation > > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation >
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation