Re: [PHP] json_encode confusion

2011-11-11 Thread Richard Quadling
On 10 November 2011 14:45, Bastien Koert wrote: > Morning all, > > I've been having some fun with converting a text data file import into > a json object for storage. > > I have a text file that is pipe delimited coming in via an upload. The > first row is the headers and the second row is the dat

Re: [PHP] Headers already sent

2011-11-11 Thread Marc Guay
> Thanks. That was the problem. I spent a day trying to debug this. Smash head against wall first, ask questions later. That's my methodology as well. :) Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Frivolous Friday Fun!

2011-11-11 Thread Jason Pruim
The wife of a programmer to his husband: Quote: Darling, I'm starting to get a little worried about your work; you work too much... you spend more time with your CPU than with me... You program too much... Her husband answers, to calm her: Code: !Honey; if(you.IsThinking(this)) !Worry; CLove* my

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread Marc Guay
>     if(!myself->IsTrue()) >     { >          delete myself; >          _exit(-1); >     } I like this part... > And on a serious note... To any Past, Present, Or Future service man (Or > woman) Thank you for your sacrifice in defending our ability to send out > these Frivolous Friday emails!

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread Daniel Brown
On Fri, Nov 11, 2011 at 13:15, Marc Guay wrote: > > ... but not so much this part.  *I* can send Frivolous Friday emails > in spite of war, not because of it; please watch your "our"s. "Our" does not automatically become all-inclusive, but rather suggests that the individual is part of a larg

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread Marc Guay
>    "Our" does not automatically become all-inclusive, but rather > suggests that the individual is part of a larger group.  Please watch > your presumptions of being force-included into said group, as the > statement is valid regardless of anyone's personal opinion.  ;-P Crap, you're right. My

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread muad shibani
I love it On Fri, Nov 11, 2011 at 9:22 PM, Marc Guay wrote: > >"Our" does not automatically become all-inclusive, but rather > > suggests that the individual is part of a larger group. Please watch > > your presumptions of being force-included into said group, as the > > statement is valid

[PHP] Up to date book on PHP security?

2011-11-11 Thread Keith Purtell
As a PHP newbie, I was advised to get a book by Chris Shiflett titled "Essential PHP Security." I looked at Amazon.com but the book appears to be more than five years old. Should I get something more up to date? - Keith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Up to date book on PHP security?

2011-11-11 Thread Alain Williams
On Fri, Nov 11, 2011 at 05:01:19PM -0600, Keith Purtell wrote: > As a PHP newbie, I was advised to get a book by Chris Shiflett titled > "Essential PHP Security." I looked at Amazon.com but the book appears to > be more than five years old. Should I get something more up to date? It is a good bo

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread George Langley
On 2011-11-11, at 11:08 AM, Jason Pruim wrote: > > > And on a serious note... To any Past, Present, Or Future service man (Or > woman) Thank you for your sacrifice in defending our ability to send out > these Frivolous Friday emails! :) You're welcome! CPO2 George Langley HMC

[PHP] Pipe To A Program

2011-11-11 Thread Ron Piggott
I am looking at CPanel’s “E-Mail filtering” option “Pipe To A Program” http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FilterOptions The goal I am working towards is saving the contents of an incoming e-mail address into a mySQL table. I am thinking of trying to program a cust