Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 03:03, Paul M Foster wrote: > On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: > >> I would like to use the SQLite3 (not PDO) interface to SQLite, and I >> would like to be able to supply a string containing several SQL >> statements and have them all executed, thu

Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread David Robley
Tim Streater wrote: > On 11 Oct 2011 at 03:03, Paul M Foster wrote: > >> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: >> >>> I would like to use the SQLite3 (not PDO) interface to SQLite, and I >>> would like to be able to supply a string containing several SQL >>> statements an

Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 10:47, David Robley wrote: > Tim Streater wrote: > >> On 11 Oct 2011 at 03:03, Paul M Foster wrote: >> >>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: >>> I would like to use the SQLite3 (not PDO) interface to SQLite, and I would like to be able to

Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread David Robley
Tim Streater wrote: > On 11 Oct 2011 at 10:47, David Robley wrote: > >> Tim Streater wrote: >> >>> On 11 Oct 2011 at 03:03, Paul M Foster wrote: >>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: > I would like to use the SQLite3 (not PDO) interface to SQLite, and I

Re: Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread Tim Streater
On 11 Oct 2011 at 11:25, David Robley wrote: > Tim Streater wrote: >> On 11 Oct 2011 at 10:47, David Robley wrote: >>> Tim Streater wrote: On 11 Oct 2011 at 03:03, Paul M Foster wrote: > On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: >> I would like to use the

[PHP] newline and return issues in string

2011-10-11 Thread admin
I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string) This gave me a nice array but when I try to implode I get the

Re: [PHP] newline and return issues in string

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 7:58 AM, wrote: > I have come across an issue with my string that I would like to find a > faster way to resolve. > > It seems there are new lines and returns at different positions of the > string. > > > > First I exploded on the new line explode(“\n”, $ string) > > This

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
> -Original Message- > From: Bastien Koert [mailto:phps...@gmail.com] > Sent: Tuesday, October 11, 2011 8:53 AM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] newline and return issues in string > > On Tue, Oct 11, 2011 at 7:58 AM, wrote: > > I have

Re: [PHP] newline and return issues in string

2011-10-11 Thread Richard Quadling
On 11 October 2011 12:58, wrote: > I have come across an issue with my string that I would like to find a > faster way to resolve. > > It seems there are new lines and returns at different positions of the > string. > > > > First I exploded on the new line explode(“\n”, $ string) > > This gave me

Re: [PHP] newline and return issues in string

2011-10-11 Thread Fatih P.
On 10/11/2011 04:44 PM, Richard Quadling wrote: On 11 October 2011 12:58, wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line expl

[PHP] Re: newline and return issues in string

2011-10-11 Thread Al
On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string) This

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
> -Original Message- > From: Richard Quadling [mailto:rquadl...@gmail.com] > Sent: Tuesday, October 11, 2011 9:44 AM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] newline and return issues in string > > On 11 October 2011 12:58, wrote: > > I have co

RE: [PHP] Re: newline and return issues in string

2011-10-11 Thread admin
Richard L. Buskirk Senior Software Engineer/Systems Administrator You can’t grow your business with systems that are on life support... > -Original Message- > From: Al [mailto:n...@ridersite.org] > Sent: Tuesday, October 11, 2011 10:17 AM > To: php-general@lists.php.net > Subject: [PHP

Re: [PHP] Re: newline and return issues in string

2011-10-11 Thread Al
On 10/11/2011 10:44 AM, ad...@buskirkgraphics.com wrote: Richard L. Buskirk Senior Software Engineer/Systems Administrator You can’t grow your business with systems that are on life support... -Original Message- From: Al [mailto:n...@ridersite.org] Sent: Tuesday, October 11, 2011

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Ricardo Martinez
Hi! i'm was checking, readfile(); and fpassthru(); With easy examples, i can use it for show a pic in the screen and download a file, from outside of documentRoot. It works fine. The problem that i have now, is, i need can work with it, inside of other documents, but i'm getting all time error b

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez wrote: > Hi! > > i'm was checking, readfile(); and fpassthru(); > > With easy examples, i can use it for show a pic in the screen and download a > file, from outside of documentRoot. It works fine. > > The problem that i have now, is, i need can w

[PHP] Problem with base64_encode and openssl_verify

2011-10-11 Thread QI.VOLMAR QI
openssl_sign($dados, $signature, $pkeyid)); // return 1 $signatureValue = base64_encode($signature); $funcionam = base64_decode($dados_que_nao); $pubKey = file_get_contents('protected/models/nfe/certs/cert.pem'); openssl_verify($funcionam,$signature, $pubKey)); // return 0; if I remove the de b

[PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Nam Gi VU
Hi every one, Currently when I call php --ini from CLI, I just see C:\Windows but search for this location, I cannot find any php.ini files. I'm stuck there - where is the php.ini file used by php.exe called from CLI as below *C:> php --ini* Hope to hear from you! Regards, Nam

Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Daniel Brown
On Tue, Oct 11, 2011 at 14:40, Nam Gi VU wrote: > Hi every one, > Currently when I call php --ini from CLI, I just see C:\Windows but search > for this location, I cannot find any php.ini files. > I'm stuck there - where is the php.ini file used by php.exe called from CLI > as below > > *C:> php -

Re: [PHP] Server Side Include translator as PHP functions

2011-10-11 Thread tamouse mailing lists
On Sat, Oct 8, 2011 at 10:36 AM, Complex wrote: > Can you please tell me if there's already a set of PHP functions for > translating SSI commands to PHP? > I'm looking to do two things -- one difficult, one easy -- using PHP > on a hosted server. I can't believe that this hasn't already been done

Re: [PHP] Server Side Include translator as PHP functions

2011-10-11 Thread tamouse mailing lists
On Sun, Oct 9, 2011 at 12:36 PM, Tedd Sperling wrote: > On Oct 9, 2011, at 11:41 AM, Complex wrote: > >> Tedd, >> >> The crucial detail you're lookign for is my lack of choice or control >> in the matter, for all sorts of reasons that are actually quite stupid >> but not possible for *me* to chang