Re: Why do i get this Notice Message?
| From: | lallous | Date: | Fri, 02 Aug 2002 13:06:11 +0000 |
| Subject: | Re: Why do i get this Notice Message? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110807@lists.php.net to get a copy of this message | ||
In your function do this:
> function WriteNewArticle()
> {
GLOBAL $PHP_SELF;
...
}
//Elias
"JüRgen" <uo@chello.at> wrote in message
news:20020802120059.94036.qmail@pb1.pair.com...
> Hello!
>
> Could someone please tell me why i get the following Notice Message
>
> Notice: Undefined variable: PHP_SELF in
> g:\apache_web\intern\looney\index.php on line 101
>
> Code affected:
>
> function WriteNewArticle()
> {
> Line 100: $smarty = new Smarty;
> Line 101: $smarty->assign("PHPSELF", $PHP_SELF);
> // etc.....
>
> Thanks alot in advance for your time,
> Jürgen
>
>
>