php-general Digest 2 Mar 2013 12:03:25 -0000 Issue 8144

2013-03-02 Thread php-general-digest-help
php-general Digest 2 Mar 2013 12:03:25 - Issue 8144 Topics (messages 320343 through 320354): Re: Introduction ... ! 320343 by: tamouse mailing lists 320348 by: Nick Whiting 320350 by: Jilal Oussama Re: Holding datetimes in a DB. 320344 by: tamouse mailing

php-general Digest 3 Mar 2013 00:28:08 -0000 Issue 8145

2013-03-02 Thread php-general-digest-help
php-general Digest 3 Mar 2013 00:28:08 - Issue 8145 Topics (messages 320355 through 320366): Re: Joining fixed text to a SUBJECT variable 320355 by: Jim Giner 320362 by: tamouse mailing lists 320363 by: tamouse mailing lists 320364 by: Michael CALDER

Re: [PHP] Introduction ... !

2013-03-02 Thread Jilal Oussama
I am new too here (no more than a week) On Mar 2, 2013 1:37 AM, Nick Whiting prg...@gmail.com wrote: On Fri, Mar 1, 2013 at 6:32 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Mar 1, 2013 at 11:56 AM, Daniel Brown danbr...@php.net wrote: On Fri, Mar 1, 2013 at 12:54 PM,

Re: [PHP] Holding datetimes in a DB.

2013-03-02 Thread Lester Caine
Paul McGarry wrote: My heads trying to remember something I may or may not have known to start with. If I hold datetimes in a DB in UTC and can represent a date to a user based upon a user preference Timezone (not an offset, but a real timezone : Europe/Berlin, etc.) am I missing anything?

[PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Michael CALDER
-- G'day , I have a basically simple problem the solution to which has eluded me for several days. I have a form being handled by a .php file. I want the received email sent by the form to have as its SUBJECT the combination of the form name RVRA Contact Form - and the MESSAGE SUBJECT as

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Lester Caine
Michael CALDER wrote: $Subject = RVRA Contact Form - ,$MessageSubject; Can anyone please advise or point me in the right direction for instructions on how to combine the fixed text with the variable $MessageSubject. The quick fix is simply $Subject = RVRA Contact Form - .$MessageSubject; but

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Maciek Sokolewicz
On 2-3-2013 12:23, Lester Caine wrote: Michael CALDER wrote: $Subject = RVRA Contact Form - ,$MessageSubject; Can anyone please advise or point me in the right direction for instructions on how to combine the fixed text with the variable $MessageSubject. The quick fix is simply $Subject =

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Jim Giner
On 3/2/2013 7:03 AM, Maciek Sokolewicz wrote: The problem is the simple fact that the variable $MessageSubject is not defined until 4 lines farther into the script. Changing the variable to $_POST['MessageSubject'] (and concatenating using the concatenation operator (the period: '.' )) should

Re: [PHP] Introduction ... !

2013-03-02 Thread Jay Blanchard
[snip] ...good conversation... [/snip] I have been on this list for years and I have watched it ebb and flow. I have heard all the bad and good about PHP. The fact remains that we use PHP in some very heavy applications and it never fails us for what we want or need to do. I always encourage

Re: [PHP] Introduction ... !

2013-03-02 Thread Matt Giddings
I've been on this list since the early 2000's. I used to participate a lot back then but then took up a non-php related job and I stopped paying attention to the list. I've been working again with php for the past 4.5 years but choose to just monitor the list and haven't participated much.

Re: [PHP] Introduction ... !

2013-03-02 Thread Jay Blanchard
[snip] I've been on this list since the early 2000's. I used to participate a lot back then but then took up a non-php related job and I stopped paying attention to the list. I've been working again with php for the past 4.5 years but choose to just monitor the list and haven't participated

Re: [PHP] Introduction ... !

2013-03-02 Thread Stuart Dallas
On 2 Mar 2013, at 16:25, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip] I've been on this list since the early 2000's. I used to participate a lot back then but then took up a non-php related job and I stopped paying attention to the list. I've been working again with php

Re: [PHP] Introduction ... !

2013-03-02 Thread Jay Blanchard
[snip] Speak for yourself, I'm an autumn turkey! -Stuart [/snip] My body is an Autumn turkey, my head says differently - save on certain mornings when too much popping and cracking occurs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Introduction ... !

2013-03-02 Thread tamouse mailing lists
On Sat, Mar 2, 2013 at 10:35 AM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip] Speak for yourself, I'm an autumn turkey! -Stuart [/snip] My body is an Autumn turkey, my head says differently - save on certain mornings when too much popping and cracking occurs. See, you

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread tamouse mailing lists
On Sat, Mar 2, 2013 at 5:04 AM, Michael CALDER mikecal...@optusnet.com.au wrote: -- G'day , G'day, cobber! Here is the current contact2.php file - but the SUBJECT only shows as RVRA Contact Form - Others have addressed that, as well as not needing the stripslashes. If you will permit, I

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Michael CALDER
G'day , Thanks to you both I have muddled through. The actual answer was $Subject = RVRA Contact Form - .$_POST['MessageSubject']; I had tried something like that but I used a comma instead of the period. And, yes, I was getting error messages Undefined variable on line 6. etc but was too

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread Jim Lucas
On 3/2/2013 11:56 AM, tamouse mailing lists wrote: Ah, crikey, syntax error!! $Body ENDOFMAIL should be: $Body = ENDOFMAIL assignment operator necessary!! AND... it should have 3 instead of 2 http://www.php.net/manual/en/language.types.string.php \

Re: [PHP] Introduction ... !

2013-03-02 Thread Tedd Sperling
On Mar 2, 2013, at 11:25 AM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: No - Tedd is old. The rest of us are just Spring chickens. Hey, let's watch that... a, what? What the hell was I saying??? Awww .. forget it. Did I tell you about when I programed with rocks? That was

Re: [PHP] Introduction ... !

2013-03-02 Thread Tedd Sperling
On Mar 2, 2013, at 11:26 AM, Stuart Dallas stu...@3ft9.com wrote: On 2 Mar 2013, at 16:25, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: No - Tedd is old. The rest of us are just Spring chickens. Speak for yourself, I'm an autumn turkey! -Stuart What's this autumn nonsense?

Re: [PHP] Introduction ... !

2013-03-02 Thread Tedd Sperling
On Mar 2, 2013, at 2:20 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: See, you can't really call yourself old until that's pooping and cramping... That reminds me -- a couple of my older friends and I were discussing getting old. One friend said At 8:00 am I have a terrible time