Re: [PHP] XML Parse Error

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 10.12-kor VamVan ezt írta: > Hi All, > > Happy Christmas!!! > > Please see the code below: > > > $xml = ""; > $xml = ''; > $xml .= ''; > $xml .= ''. > $this->xmlValueEncoding($post['Email']) .''; > $xm

Re: [PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 12.04-kor Jason Pruim ezt írta: > Hey Zoltan, > > Thanks for looking, here's the result of the vardump, I did $link > first and then $stmt > > object(mysqli)#1 (0) { } bool(false) > > Not quite what it should be is it? surely not ;) if this is the result for

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Sancar Saran
example code // current code //--- Set DB $GLOBALS['db'] = NewADOConnection($GLOBALS['c']['db']['type'].'://'. $GLOBALS['c']['db']['user'].':'.$GLOBALS['c']['db']['pass'].'@'.$GLOBALS['c'] ['db']['host'].'/'.$GLOBALS['c']['db']['name']); $ADODB_FETCH_MODE = ADODB_FETCH_NUM; // Fastest Get Method

[PHP] Re: I hate bugs...Mysqli issue

2007-12-21 Thread Colin Guthrie
Jason Pruim wrote: > Thanks for looking, here's the result of the vardump, I did $link first > and then $stmt > > object(mysqli)#1 (0) { } bool(false) > > Not quite what it should be is it? Well the first bit looks fine but clearly the mysqli_prepare() is not working properly. Try calling mysql

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Nathan Nobbe
On Dec 21, 2007 2:46 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2007-12-21 at 12:35 -0600, Philip Thompson wrote: > > On Dec 20, 2007, at 11:24 AM, Sancar Saran wrote: > > > > > Hello All, > > > > > > Thanks for joining the conversation. It seems there where no real > > > technical >

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Robert Cummings
On Fri, 2007-12-21 at 12:35 -0600, Philip Thompson wrote: > On Dec 20, 2007, at 11:24 AM, Sancar Saran wrote: > > > Hello All, > > > > Thanks for joining the conversation. It seems there where no real > > technical > > dead end for using $GLOBALS directly. > > Using $GLOBALS directly very simila

Re: [PHP] Just to confirm...

2007-12-21 Thread Michael McGlothlin
I wish I could block IE users. They almost are more trouble than they are worth. Luckily only about 20% of my users still use IE6. :p Lol!!! I need to implement that on ALL my sites ... XD!! Xavier de Lapeyre -Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED]

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Philip Thompson
On Dec 20, 2007, at 11:24 AM, Sancar Saran wrote: Hello All, Thanks for joining the conversation. It seems there where no real technical dead end for using $GLOBALS directly. Using $GLOBALS directly very similar to coding standarts. It just up to you. Also I try explain my enviroment a l

[PHP] Re: I hate bugs...Mysqli issue

2007-12-21 Thread Colin Guthrie
Zoltán Németh wrote: > an error must have occurred with mysqli_prepare, so it returned a > boolean false, that's what all those warnings are complaining about... > > are you sure $link is a valid mysqli link identifier? And as a general rule, defensive programming approaches would state that you

[PHP] XML Parse Error

2007-12-21 Thread VamVan
Hi All, Happy Christmas!!! Please see the code below: $xml = ""; $xml = ''; $xml .= ''; $xml .= ''. $this->xmlValueEncoding($post['Email']) .''; $xml .= '' . $this->xmlValueEncoding($post['FirstName']) . ''; $xml .= '' . $

Re: [PHP] building PHP5.2.5 on Mac OS X Leopard (anyone know how to build a just an extension)

2007-12-21 Thread Daniel Brown
On Dec 21, 2007 12:55 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > I'll get back to you as soon as I have had another stab at > configuring/compiling > (right now I don't have any apache or php stuff lying around - I got annoyed > and > confused so I rm -rf'ed the lot with the intention to try ag

Re: [PHP] building PHP5.2.5 on Mac OS X Leopard (anyone know how to build a just an extension)

2007-12-21 Thread Daniel Brown
On Dec 20, 2007 7:56 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Frank Arensmeier schreef: > > How desperately are you trying > > to get thinks working? > > desperate enough to move back to my windows machine ;-) For the love of God, Jochem, I will not sit idly by and allow that to happen.

Re: [PHP] building PHP5.2.5 on Mac OS X Leopard (anyone know how to build a just an extension)

2007-12-21 Thread Jochem Maas
Daniel Brown schreef: > On Dec 20, 2007 7:56 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Frank Arensmeier schreef: >>> How desperately are you trying >>> to get thinks working? >> desperate enough to move back to my windows machine ;-) > > For the love of God, Jochem, I will not sit idly by

Re: [PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Jason Pruim
On Dec 21, 2007, at 12:01 PM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.50-kor Jason Pruim ezt írta: On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: Hi everyone. I have a script that I've been using succesfu

Re: [PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 11.50-kor Jason Pruim ezt írta: > On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: > > > 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: > >> Hi everyone. > >> > >> I have a script that I've been using succesfully for quite awhile, > >> and > >

Re: [PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Jason Pruim
On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: Hi everyone. I have a script that I've been using succesfully for quite awhile, and just today found a bug... I attempted to insert a new record into the database and got th

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Stut
Richard Lynch wrote: On Wed, December 19, 2007 11:22 am, Stut wrote: well, if you have a long and complex function declaration which begins with global $whatever, and then all over the function $whatever is used, some dozens of lines later when looking for something in the code you might not hav

Re: [PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: > Hi everyone. > > I have a script that I've been using succesfully for quite awhile, and > just today found a bug... > > I attempted to insert a new record into the database and got this > error in my error log: > > [Fri Dec 2

[PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Jason Pruim
Hi everyone. I have a script that I've been using succesfully for quite awhile, and just today found a bug... I attempted to insert a new record into the database and got this error in my error log: [Fri Dec 21 11:08:43 2007] [error] PHP Warning: mysqli_stmt_bind_param() expects parame

RE: [PHP] Which file called the function?

2007-12-21 Thread Cesar D. Rodas
__FILE__ == "global.php" On 20/12/2007, Christoph Boget <[EMAIL PROTECTED]> wrote: > > Let's say I have the following 3 files > > global.php >function myFunc() { echo __FILE__; } > ?> > > one.php >include( 'global.php' ); > echo 'You are in file: '; > myFunc(); > ?> > > two.php >in

[PHP] Re: Which file called the function?

2007-12-21 Thread Nathan Rixham
global.php one.php might work.. Christoph Boget wrote: Let's say I have the following 3 files global.php one.php two.php In each case, what is echoed out for __FILE__ is global.php. Apart from analyzing the debug_backtrace array, is there any way that myFunc() would display "one.php"

Re: [PHP] Just to confirm...

2007-12-21 Thread Nathan Rixham
Anti-IE.. an IE penalty, don't loose visitors, just frustrate them a little, never know they may try firefox and see it works that bit faster :) Xavier de Lapeyre wrote: Lol!!! I need to implement that on ALL my sites ... XD!! Xavier de Lapeyre -Original Message- From: Richa