php-general | 2001092
Date: 09/24/01
- Next message: Jay Paulson: "Re: [PHP] How to increase number of supported servers?"
- Previous message: Johnny Nguyen: "[PHP] Possible to store arrays in session variables?"
- In reply to: Justin Colson: "[PHP] "Warning: Undefined variable" when used locally, but fine on remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This has to do with error_reporting level setting set in php.ini
echo $iamnotset;
when E_NOTICE level is on, that will produce a Warning. Otherwise, it
will not.
I posted something similiar recently, see it here:
http://marc.theaimsgroup.com/?l=php-general&m=100083224311516
On uklinux, either "fix" the code (yeah!) or use the error_reporting()
function to suppress the warnings. Strange that a free host would have it
on, actually, it's kinda cool :)
regards,
Philip Olson
On Mon, 24 Sep 2001, Justin Colson wrote:
> I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions
> at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on
> a Win98 machine which I will later use as an intranet server (NT workstation
> refuses to detect NT server, and the machine is too slow for Win2k). When I
> run scripts on this instalation that work fine on my free webspace at
> uklinux.net, they return "Warning: Undefined variable: sub" at every
> occurance of my menu system which uses sub as it its main vairable, if i
> specify the variable in the URL that partiular page will work, but only of
> the links
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jay Paulson: "Re: [PHP] How to increase number of supported servers?"
- Previous message: Johnny Nguyen: "[PHP] Possible to store arrays in session variables?"
- In reply to: Justin Colson: "[PHP] "Warning: Undefined variable" when used locally, but fine on remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

