In your function do this: > function WriteNewArticle() > { GLOBAL $PHP_SELF;
... } //Elias "JüRgen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php