RE: [PHP] Re: php form action breaks script

2012-07-02 Thread Ford, Mike
-Original Message- From: Tim Dunphy [mailto:bluethu...@gmail.com] Sent: 28 June 2012 01:18 Hey guys, It's been a little while since I've toyed with this, and I hope you don't mind my coming back to you for some more advice. But I've enjoyed some limited success with David R's

Re: [PHP] Re: php form action breaks script

2012-06-27 Thread Matijn Woudt
On Thu, Jun 28, 2012 at 2:17 AM, Tim Dunphy bluethu...@gmail.com wrote: Hey guys, It's been a little while since I've toyed with this, and I hope you don't mind my coming back to you for some more advice. But I've enjoyed some limited success with David R's advice regarding adding some

Re: [PHP] Re: php form action breaks script

2012-06-27 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 7:17 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey guys, It's been a little while since I've toyed with this, and I hope you don't mind my coming back to you for some more advice. But I've enjoyed some limited success with David R's advice regarding adding some

Re: [PHP] Re: php form action breaks script

2012-06-27 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 7:17 PM, Tim Dunphy bluethu...@gmail.com wrote: One more little thing: These notices: Notice: Undefined index: subject in /Library/WebServer/Documents/examples/ch03/final/makemeelvis/sendemail.php on line 23 Notice: Undefined index: elvismail in

Re: [PHP] Re: php form action breaks script

2012-06-27 Thread Jim Giner
Tim Dunphy bluethu...@gmail.com wrote in message news:caozy0em5duhby-qv+y1u-e+c5yd7g5utauhomoyu3z7jma-...@mail.gmail.com... Notice: Undefined index: subject in /Library/WebServer/Documents/examples/ch03/final/makemeelvis/sendemail.php on line 23 Notice: Undefined index: elvismail in

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread ma...@behnke.biz
Al n...@ridersite.org hat am 15. Juni 2012 um 14:29 geschrieben: On 6/14/2012 7:28 PM, Tim Dunphy wrote: However if I change the form action to this, it breaks the page resulting in a white screen of death: error_reporting(E_ALL); ini_set('display_errors', 'On'); And what is the error

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread Jim Lucas
On 06/15/2012 06:35 AM, Jim Giner wrote: Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since. The only problem I have with HEREDOC is I cannot use constants within them. -- Jim Lucas http://www.cmsws.com/

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread ma...@behnke.biz
Jim Lucas li...@cmsws.com hat am 15. Juni 2012 um 18:39 geschrieben: On 06/15/2012 06:35 AM, Jim Giner wrote: Hear, Hear for heredocs. The only way to code up your html. Took me a few months to discover it and haven't looked back since. The only problem I have with HEREDOC is I

Re: [PHP] Re: php form action breaks script

2012-06-15 Thread Al
It is a small price to pay for large block, especially if the text has any quotes. Personally, I can't keep them straight and delimit them, etc. Heredoc saves all that such stuff. $insert= MY_DEFINED; echo hdc This is my $insert hdc; On 6/15/2012 12:39 PM, Jim Lucas wrote: On 06/15/2012

Re: [PHP] Re: php form action breaks script

2012-06-14 Thread Paul Halliday
On Thu, Jun 14, 2012 at 10:17 PM, David Robley robl...@aapt.net.au wrote: Tim Dunphy wrote: Hello list,  I was just wondering if I could get some opinions on a snippet of code which breaks a php web page.  First the working code which is basically an html form being echoed by  php: if