Re: $PHP_SELF in include files

From: Date: Tue, 12 Mar 2002 23:23:31 +0000
Subject: Re: $PHP_SELF in include files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88263@lists.php.net to get a copy of this message
On Tue, 12 Mar 2002, David Johansen wrote: you might try global $PHP_SELF; in that function... > Here's the chunk of code in the include file that gave me that. I should > have put it with the original post: > > <?php > function questions() > { > ?> > <font face="Times New Roman" size="5" > color="#003399">U</font></b><font > face="Times New Roman" size="2"> > </font><font face="Times New Roman" size="4"><b> > <a href="<?php echo $PHP_SELF?>?page=questions"><font > color="#CC0000">Questions</font></a></b></font><font > face="Times New Roman" > > size="2"><BR> > Insert questions here.</font><P><b> > <?php > } > ?> > -- Jan Rademaker <janr@486.yi.org> http://www.ottobak.com

« previous php.general (#88263) next »