RES: [PHP] Odd error

2008-05-21 Thread Thiago Pojda
or [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 21 de maio de 2008 00:33 Para: php-general@lists.php.net Assunto: [PHP] Odd error A customer was woring on php5.2.6/mysql 5.1 and no problem yet with php 5.2.5 / mysql 4.1 we get: Warning: DOMDocument::__construct() [function.DOMDocument---c

[PHP] Odd error

2008-05-20 Thread The Doctor
A customer was woring on php5.2.6/mysql 5.1 and no problem yet with php 5.2.5 / mysql 4.1 we get: Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(88) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5 Warning: DOMDocument::__construct() [function.

Re: [PHP] Odd error after upgrading from Php4 to Php5

2006-11-29 Thread Jochem Maas
Ian Barnes wrote: > Hi, > > $sql1 = "UPDATE members SET $pass WHERE id = '$editid'"; you might consider that $editid is not what you think. use var_dump() et al to discover what is really in each var. > > Thats whats on 199. ON line 198 i have: $pass = $_POST['pass']; which means I can inject

Re: [PHP] Odd error after upgrading from Php4 to Php5

2006-11-28 Thread Ian Barnes
Hi, $sql1 = "UPDATE members SET $pass WHERE id = '$editid'"; Thats whats on 199. ON line 198 i have: $pass = $_POST['pass']; Thanks, Ian On 11/29/06, Jochem Maas <[EMAIL PROTECTED]> wrote: Ian Barnes wrote: > Hi, > > We recently upgraded our primary webserver to php 5 from php4 and we are

Re: [PHP] Odd error after upgrading from Php4 to Php5

2006-11-28 Thread Jochem Maas
Ian Barnes wrote: > Hi, > > We recently upgraded our primary webserver to php 5 from php4 and we are > now > getting the following errors on the site: > > *Catchable fatal error*: Object of class stdClass could not be converted to > string in /home/www/somesite/somfile.php on line *199 > > *Arou

[PHP] Odd error after upgrading from Php4 to Php5

2006-11-28 Thread Ian Barnes
Hi, We recently upgraded our primary webserver to php 5 from php4 and we are now getting the following errors on the site: *Catchable fatal error*: Object of class stdClass could not be converted to string in /home/www/somesite/somfile.php on line *199 *Around that area in the code is some code

Re: [PHP] odd error

2005-03-14 Thread Stephen Johnson
It's Hebrew -- it means twice colon. On Mar 14, 2005, at 8:34 PM, Rob Agar wrote: hey all just got this error: Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM' The line that caused it was this: $db =& null; (yes I know it's wrong, it's a typo/brain spasm) I'm just curious - what langua

[PHP] odd error

2005-03-14 Thread Rob Agar
hey all just got this error: Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM' The line that caused it was this: $db =& null; (yes I know it's wrong, it's a typo/brain spasm) I'm just curious - what language IS that? finnish? Rob Agar Web Site Consultant Wild Lime Media - [EMAIL PR

Re: [PHP] odd error with if !(cond){}

2004-01-19 Thread Tristan Gutsche
Danke looks like its a simple case where the reference book had a Typo in it putting the ! on the outside of the bracket. Thanx for your help. Regards Tristan "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tristan G

Re: [PHP] odd error with if !(cond){}

2004-01-19 Thread Greg Donald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tristan Gutsche wrote: | Hello im hoping someone might have an insight into this one im getting an | odd error when I use a not condition in an if statement | | The code is as follows: | if !(isset($_REQUEST["license"])) | { | $license = "off"; | } |

[PHP] odd error with if !(cond){}

2004-01-19 Thread Tristan Gutsche
Hello im hoping someone might have an insight into this one im getting an odd error when I use a not condition in an if statement The code is as follows: if !(isset($_REQUEST["license"])) { $license = "off"; } The error I am receiving is: Parse error: parse error, unexpected '!', expecting '('

Re: [PHP] Odd Error (PHP4 & IIS)

2003-07-16 Thread Shena Delian O'Brien
TECTED] Subject: [PHP] Odd Error (PHP4 & IIS) Hi - Got PHP4 running on IIS as a testing server (only used internally for my own testing purposes). It suddenly just flurbed on pages it worked fine on minutes ago. Now suddenly it gives me this error (with popups telling me about the missing file

RE: [PHP] Odd Error (PHP4 & IIS)

2003-07-16 Thread Johnny Martinez
I see this randomly on my little server. Just hit the refresh button :P J -Original Message- From: Shena Delian O'Brien [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Odd Error (PHP4 & IIS) Hi - Got PHP4 running on

[PHP] Odd Error (PHP4 & IIS)

2003-07-16 Thread Shena Delian O'Brien
Hi - Got PHP4 running on IIS as a testing server (only used internally for my own testing purposes). It suddenly just flurbed on pages it worked fine on minutes ago. Now suddenly it gives me this error (with popups telling me about the missing files): Security Alert! The PHP CGI cannot be acce