Thank you for advise, everything is working fine now.

Youri

On 19 Aug 2001, at 15:55, Oliver Emberton wrote:

> It looks like PHP has been configured to report ALL errors and warnings - in
> your case it is warning you that you haven't declared the variable $page
> before you used it.
> 
> Two ways around this - either set the variable $page to something first, or
> fix the php.ini file to stop being so fussy... try setting error_reporting
> to 7.
> 
> (Newbie advice only, so take with a pinch of salt)
> 
> ----- Original Message -----
> From: "BRACK" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, August 19, 2001 3:45 PM
> Subject: [PHP] Errors
> 
> 
> > Hi
> >
> > I'm getting strange errors if I add
> > "LoadModule php4_module ../php/sapi/php4apache.dll" to http.conf
> > If I don't load it everything is working with php.exe without any errors
> but as I
> > load it as a modul I get for example -
> > Warning: Undefined variable: page in d:\abria> > sql\apache\htdocs\inc\page.inc 
>on line 2

> >  here is the page.inc file:> > <?php 
> > if (!$page):
> >     $page = 1;
> > endif;
> > $limit = ($page * 10) - 10;
> > ?>

> >
> > What is wrong? I need php as a modul but what do I do
> > wrong, I did everything according to install.txt in php
> > directory.
> >
> > Thank you
> >
> > Youri
> >
> > <>< <>< <>< <>< God is our provider ><> ><> ><> ><>
> > http://www.body-builders.org
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to