Warnings/Errors in PHP

Warnings/Errors in PHP

am 25.05.2007 09:05:54 von Gustav Wiberg

Hi there!

The server I'm connected to is not showing any warnings/error in PHP.
Instead it just displays a blank page. How can I do in PHP-script to show
errors/warning? I know this is possible, but I'm not able to find it for the
moment.

Best regards
/Gustav Wiberg


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Warnings/Errors in PHP

am 25.05.2007 09:12:12 von Chandar V R

You can do this in PHP ini file.
Thanks/Chandar
Gustav Wiberg wrote:
> Hi there!
>
> The server I'm connected to is not showing any warnings/error in PHP.
> Instead it just displays a blank page. How can I do in PHP-script to
> show errors/warning? I know this is possible, but I'm not able to find
> it for the moment.
>
> Best regards
> /Gustav Wiberg
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Warnings/Errors in PHP

am 25.05.2007 09:15:32 von Gustav Wiberg

Hi there!

I know that, but that wasn't my question...
I want to do it in the PHP-script...

Best regards
/Gustav Wiberg

----- Original Message -----
From: "chandar"
To: "Gustav Wiberg"
Cc: "PHP WindowsList"
Sent: Friday, May 25, 2007 9:12 AM
Subject: Re: [PHP-WIN] Warnings/Errors in PHP


> You can do this in PHP ini file.
> Thanks/Chandar
> Gustav Wiberg wrote:
>> Hi there!
>>
>> The server I'm connected to is not showing any warnings/error in PHP.
>> Instead it just displays a blank page. How can I do in PHP-script to
>> show errors/warning? I know this is possible, but I'm not able to find
>> it for the moment.
>>
>> Best regards
>> /Gustav Wiberg
>>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Warnings/Errors in PHP

am 25.05.2007 09:27:42 von Dale Attree

Ini_set("display_errors",1);
Error_reporting(E_ALL ^ E_NOTICE);

-----Original Message-----
From: Gustav Wiberg [mailto:gustav@hmn.se]
Sent: 25 May 2007 09:16 AM
To: chandar
Cc: PHP WindowsList
Subject: Re: [PHP-WIN] Warnings/Errors in PHP

Hi there!

I know that, but that wasn't my question...
I want to do it in the PHP-script...

Best regards
/Gustav Wiberg

----- Original Message -----
From: "chandar"
To: "Gustav Wiberg"
Cc: "PHP WindowsList"
Sent: Friday, May 25, 2007 9:12 AM
Subject: Re: [PHP-WIN] Warnings/Errors in PHP


> You can do this in PHP ini file.
> Thanks/Chandar
> Gustav Wiberg wrote:
>> Hi there!
>>
>> The server I'm connected to is not showing any warnings/error in PHP.
>> Instead it just displays a blank page. How can I do in PHP-script to
>> show errors/warning? I know this is possible, but I'm not able to find
>> it for the moment.
>>
>> Best regards
>> /Gustav Wiberg
>>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






************************************************************ ***********************************
The information contained in this e-mail is confidential and may be subject to legal privilege.
Access to this e-mail by anyone other than the intended recipient is unauthorised.

If you are not the intended recipient you must not use, copy, distribute or disclose the e-mail or any part of its contents or take any action in reliance on it. If you have received this e-mail in error, please notify us immediately by e-mail (postmaster@jacklinenterprises.com) or telephone (+27 11 265 4200).
This message is free of all known viruses. It has been screened for viruses by Blockmail.
************************************************************ ***********************************

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Warnings/Errors in PHP

am 25.05.2007 09:29:57 von Gustav Wiberg

Hi there!

Thanx a lot!!! :-)

Best regards
/Gustav Wiberg

----- Original Message -----
From: "Dale Attree"
To: "'Gustav Wiberg'" ; "'chandar'"
Cc: "'PHP WindowsList'"
Sent: Friday, May 25, 2007 9:27 AM
Subject: RE: [PHP-WIN] Warnings/Errors in PHP


> Ini_set("display_errors",1);
> Error_reporting(E_ALL ^ E_NOTICE);
>
> -----Original Message-----
> From: Gustav Wiberg [mailto:gustav@hmn.se]
> Sent: 25 May 2007 09:16 AM
> To: chandar
> Cc: PHP WindowsList
> Subject: Re: [PHP-WIN] Warnings/Errors in PHP
>
> Hi there!
>
> I know that, but that wasn't my question...
> I want to do it in the PHP-script...
>
> Best regards
> /Gustav Wiberg
>
> ----- Original Message -----
> From: "chandar"
> To: "Gustav Wiberg"
> Cc: "PHP WindowsList"
> Sent: Friday, May 25, 2007 9:12 AM
> Subject: Re: [PHP-WIN] Warnings/Errors in PHP
>
>
>> You can do this in PHP ini file.
>> Thanks/Chandar
>> Gustav Wiberg wrote:
>>> Hi there!
>>>
>>> The server I'm connected to is not showing any warnings/error in PHP.
>>> Instead it just displays a blank page. How can I do in PHP-script to
>>> show errors/warning? I know this is possible, but I'm not able to find
>>> it for the moment.
>>>
>>> Best regards
>>> /Gustav Wiberg
>>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
>
> ************************************************************ ***********************************
> The information contained in this e-mail is confidential and may be
> subject to legal privilege.
> Access to this e-mail by anyone other than the intended recipient is
> unauthorised.
>
> If you are not the intended recipient you must not use, copy, distribute
> or disclose the e-mail or any part of its contents or take any action in
> reliance on it. If you have received this e-mail in error, please notify
> us immediately by e-mail (postmaster@jacklinenterprises.com) or telephone
> (+27 11 265 4200).
> This message is free of all known viruses. It has been screened for
> viruses by Blockmail.
> ************************************************************ ***********************************
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Warnings/Errors in PHP

am 25.05.2007 12:38:10 von Stut

Dale Attree wrote:
> Error_reporting(E_ALL ^ E_NOTICE);

Why oh why would you suggest this? Notices are telling you that
something is wrong. Do you ignore the light that indicates low fuel in
your car? If you do it'll keep working for a while, but it's a ticking
time bomb!!

-Stut

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php