Re: [PHP] Issues with simplexml_load_string()

2011-10-06 Thread Benjamin Hawkes-Lewis
On Thu, Oct 6, 2011 at 9:50 PM, Christoph Boget wrote: > It seems like when dealing with nodes which have CDATA, I cannot get > access to both the attributes of that node and the CDATA of that node > with the same simplexml_load_string() call.  Consider the following: > > $previewString = > ' name

Fwd: [PHP] Problem with code...

2011-10-06 Thread tamouse mailing lists
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim wrote: > Have a question about this block of code I'm not seeing anything immediately standing out as a problem. > Sometimes... It is dropping the last $mailmessage line... The payment method > in the actual email it sends... Can you see if the l

Re: [PHP] Problem with code...

2011-10-06 Thread tamouse mailing lists
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim wrote: > Have a question about this block of code I'm not seeing anything immediately standing out as a problem. > Sometimes... It is dropping the last $mailmessage line... The payment method > in the actual email it sends... Can you see if the l

Re: [PHP] Re: Secure data management

2011-10-06 Thread Govinda
http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Hi everyone I have read many many articles and blog posts in the last few days to bolster my (still mostly newbie) understanding of the factors that play in to preventing various methods of SQL injection prevention.. and by

Re: [PHP] Namespaced code with SabreDAV

2011-10-06 Thread Tommy Pham
On Thu, Oct 6, 2011 at 1:45 PM, Tommy Pham wrote: > On Thu, Oct 6, 2011 at 7:37 AM, Andrew Mason wrote: > >> Hello all, >> I am trying to use the wonderful SabreDAV library to create a webdav >> share. I have a demo up and running however the framework / class i'm >> using is namespaced, and Sab

Re: [PHP] Problem with code...

2011-10-06 Thread Tommy Pham
On Thu, Oct 6, 2011 at 7:29 PM, Jason Pruim wrote: > > Jason Pruim > li...@pruimphotography.com > > > > On Oct 6, 2011, at 9:04 PM, George Langley wrote: > > > On 2011-10-06, at 6:28 PM, Jason Pruim wrote: > >> > >> >> > >> //SETUP VARIABLES > >> > >> $mailTo = "li...@pruimphotography.com"; > >>

Re: [PHP] Problem with code...

2011-10-06 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 6, 2011, at 9:04 PM, George Langley wrote: > On 2011-10-06, at 6:28 PM, Jason Pruim wrote: >> >> > >> //SETUP VARIABLES >> >> $mailTo = "li...@pruimphotography.com"; >> $mailFrom = "li...@pruimphotography.com"; >> //These 2 can be changed IF you

Re: [PHP] Problem with code...

2011-10-06 Thread George Langley
On 2011-10-06, at 6:28 PM, Jason Pruim wrote: > > > //SETUP VARIABLES > > $mailTo = "li...@pruimphotography.com"; > $mailFrom = "li...@pruimphotography.com"; > //These 2 can be changed IF you know what you are doing and why! > $returnPath = $mailFrom; > $replyTo = $mailFrom; > $mailSubject = "N

[PHP] Problem with code...

2011-10-06 Thread Jason Pruim
Hi everyone, Have a question about this block of code Sometimes... It is dropping the last $mailmessage line... The payment method in the actual email it sends... Anyone have any ideas? I'm stumped Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.ph

[PHP] Issues with simplexml_load_string()

2011-10-06 Thread Christoph Boget
It seems like when dealing with nodes which have CDATA, I cannot get access to both the attributes of that node and the CDATA of that node with the same simplexml_load_string() call. Consider the following: $previewString = ''; When passing LIBXML_NOCDATA: echo '' . print_r( json_decode( json_e

Re: [PHP] Namespaced code with SabreDAV

2011-10-06 Thread Tommy Pham
On Thu, Oct 6, 2011 at 7:37 AM, Andrew Mason wrote: > Hello all, > I am trying to use the wonderful SabreDAV library to create a webdav > share. I have a demo up and running however the framework / class i'm > using is namespaced, and SabreDAV unfortunately does not have a 5.3 > style namespace d

[PHP] Issues with simplexml_load_string()

2011-10-06 Thread Christoph Boget
It seems like when dealing with nodes which have CDATA, I cannot get access to both the attributes of that node and the CDATA of that node with the same simplexml_load_string() call. Consider the following: $previewString = ''; When passing LIBXML_NOCDATA: echo '' . print_r( json_decode( json_e

[PHP] Namespaced code with SabreDAV

2011-10-06 Thread Andrew Mason
Hello all, I am trying to use the wonderful SabreDAV library to create a webdav share. I have a demo up and running however the framework / class i'm using is namespaced, and SabreDAV unfortunately does not have a 5.3 style namespace declaration. I have an spl_autoload function registered in my ba