Date: 02/16/00
- Next message: Florian Gnägi: "Re: [PHPLIB] Cache in IE"
- Previous message: Florian Gnägi: "Re: [PHPLIB] problem with fallback mode"
- In reply to: Shawn Patton: "Re: [PHPLIB] PHP4b3/PHPLIB and undefined var's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi
Thanx For the Answer. It worked great with php_value error_reporting 7
in .htaccess.
No need to alter any code at all... Running the cvs version of the code.
Best Regards
Arne
http://www.router.nu. (Almost empty at this time)
----- Original Message -----
From: "Shawn Patton" <shawn <email protected>>
To: "Arne Brune Olsen" <la8oga <email protected>>
Cc: <phplib <email protected>>
Sent: Tuesday, February 15, 2000 5:09 AM
Subject: Re: [PHPLIB] PHP4b3/PHPLIB and undefined var's
> Arne,
>
> You can rewrite the code in prepend.php3 to check first if it is set :
> if (!isset($_PHPLIB)){
>
> or you could suppress the error by adding a @ to statement:
> if (@!is_array($_PHPLIB)) {
>
> or you may be able to alter your error_reporting level
> (which is probably set to 8) in your .htaccess by including the
> line:
> php_value error_reporting 7
>
> See "Configuration" and "options & information" in the manual.
>
> Shawn
>
>
> Arne Brune Olsen wrote:
>
> > Dear List,
> > I'v got webspace at a provider, they are using
> > php4b3 compiled in apache.
> > I have made an .htaccess file with the necessary
> > include_paths and prepend file for phplib, but
> > php keeps bugging me with error messages like this :
> > Warning: Undefined variable: _PHPLIB in /home/router/phplib/prepend.php3 on line 13 .
> > Does this mean that since the $_PHPLIB variable (array) have to be defined or assigned a value before any checks on it will work (in php4) ? Or are there any workarounds ?
> >
> > By the way , track_vars are on.
> >
> > Best regards
> > Arne B. Olsen
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Florian Gnägi: "Re: [PHPLIB] Cache in IE"
- Previous message: Florian Gnägi: "Re: [PHPLIB] problem with fallback mode"
- In reply to: Shawn Patton: "Re: [PHPLIB] PHP4b3/PHPLIB and undefined var's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

