Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread John Nichel
Rory Browne wrote: That Marek seems to be my point exactly. Aparently Mario would perfer his errors to show on the bottom instead of on the top. I trying to figure out why this is, and why he wants errors in his script at all? me.level_of_confusion = CONFUSION_LEVEL_MAX; See, there's your problem.

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Rory Browne
That Marek seems to be my point exactly. Aparently Mario would perfer his errors to show on the bottom instead of on the top. I trying to figure out why this is, and why he wants errors in his script at all? me.level_of_confusion = CONFUSION_LEVEL_MAX; On Fri, 31 Dec 2004 01:13:33 +0100, Marek

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Marek Kilimajer
Rory Browne wrote: Apologies Marek if you recieved this twice, I mailed you instead of the list first time around. me.is_confused() == true; What does it matter whether errors show at the top or bottom of the page. They are probably different errors that show up, some of which show at the top, and

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Rory Browne
d me that in Windows, PHP shows its warnings at the > bottom of the pages. > > Actually, i've never had thought about this issue before. > Better still... i even didn't know PHP for Windows had this behaviour. > > In Linux they're shown at the top and now i'

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Marek Kilimajer
and now i'm in the mood to make PHP warnings appear at the bottom too. But... ... i've browsed php.ini and didn't found any way (obvious, at least) to do the same thing in Linux. Already googled also, but nothing. Is it possible to achieve this in Linux ? Any help would be aprecia

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread John Nichel
Jason Barnett wrote: Is it possible to achieve this in Linux ? Any help would be apreciated. Warm regards. http://us4.php.net/manual/en/ref.outcontrol.php Call me stupid (actually please don't :) ) but how does output buffering help in this case? Are you suggesting he write an output handler?

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Jason Barnett
Is it possible to achieve this in Linux ? Any help would be apreciated. Warm regards. http://us4.php.net/manual/en/ref.outcontrol.php Call me stupid (actually please don't :) ) but how does output buffering help in this case? Are you suggesting he write an output handler? -- Teach a person t

Re: [PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread John Nichel
and now i'm in the mood to make PHP warnings appear at the bottom too. But... ... i've browsed php.ini and didn't found any way (obvious, at least) to do the same thing in Linux. Already googled also, but nothing. Is it possible to achieve this in Linux ? Any help would be apreci

[PHP] Warnings on the bottom of the pages on Linux

2004-12-30 Thread Mário Gamito
Hi, A friend of mine told me that in Windows, PHP shows its warnings at the bottom of the pages. Actually, i've never had thought about this issue before. Better still... i even didn't know PHP for Windows had this behaviour. In Linux they're shown at the top and now i'm in

Re: [PHP] warnings

2003-12-23 Thread CPT John W. Holmes
From: "Chakravarthy Cuddapah" <[EMAIL PROTECTED]> > Can anyone pls tell me how to prevent warnings to > be displayed on the screen ? > For example, I get this message: > Warning: ldap_get_entries(): supplied argument is > not a valid ldap result resource in test.php on line 235 http://us2.php.n

[PHP] warnings

2003-12-23 Thread Chakravarthy Cuddapah
Can anyone pls tell me how to prevent warnings to be displayed on the screen ? For example, I get this message: Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in test.php on line 235 I have code to display error messages when this occurs. But I don't want to

Re: [PHP] Warnings when trying to write to file

2003-07-22 Thread Curt Zirzow
Please Start a new email when starting a new topic. * Thus wrote Dore van Hoorn ([EMAIL PROTECTED]): > > Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission > denied in /usr/local/slash/apache/vhosts/goldore.nl/httpdocs/enquete/bekijken.php > on line 206 > My bet

[PHP] Warnings when trying to write to file

2003-07-22 Thread Dore van Hoorn
Hi, I get this warning when trying to write to a .txt file. Strange enough, I don't get this error when trying to do the same this on my local server. Can anybody help me with this?! Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission denied in /usr/local/slash/apac

Re: [PHP] warnings in php4

2001-08-01 Thread Phil Driscoll
On Wednesday 01 August 2001 13:29, Phil Driscoll wrote: >Every warning message you get represents an > opportunity for a malicious user to find a secutiry hole in your code. Oops - I meant to say 'security hole' - I wish both my hands would type at the same speed :) -- Phil Driscoll -- PHP Gen

Re: [PHP] warnings in php4

2001-08-01 Thread Phil Driscoll
On Wednesday 01 August 2001 09:21, Chris Fry wrote: > Just set warnings to off in your php.ini - it's on by default NO NO NO! On your development machine, set your warning levels to E_ALL in php.ini, and then fix your code! Every warning message you get represents an opportunity for a malicious

Re: [PHP] warnings in php4

2001-08-01 Thread Chris Fry
Just set warnings to off in your php.ini - it's on by default Chris Melania Popescu wrote: > I have a lot of php scripts developed with php3. > I've installed php4 and I get some warnings when I > evaluate variables there are not set (are empty). > In php3 there was no problem (no warning). > I

[PHP] warnings in php4

2001-08-01 Thread Melania Popescu
I have a lot of php scripts developed with php3. I've installed php4 and I get some warnings when I evaluate variables there are not set (are empty). In php3 there was no problem (no warning). If I modify the code by using empty($var) or isset($var) it's ok, but there are lots of such issues. How

Re: [PHP] Warnings w/ !$var!?

2001-04-20 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Nicholas Pappas) wrote: > When I check a variable (say, in a if() statement) via !$var, I get a > Warning message printed saying that it is not initialized (if that is > the case)... well, that's part of the reason why I bloody doing the

RE: [PHP] Warnings w/ !$var!?

2001-04-20 Thread Johnson, Kirk
> I just installed PHP4 on a Windows 2000 box (tried it > both as CGI and > ISAPI) and am getting a very annoying behavior from it, that I do not > see on my installation in Linux. > When I check a variable (say, in a if() statement) via > !$var, I get a > Warning message printed

[PHP] Warnings w/ !$var!?

2001-04-20 Thread Nicholas Pappas
I just installed PHP4 on a Windows 2000 box (tried it both as CGI and ISAPI) and am getting a very annoying behavior from it, that I do not see on my installation in Linux. When I check a variable (say, in a if() statement) via !$var, I get a Warning message printed saying that