Using $PHP_SELF

From: Date: Thu, 31 Jul 2003 20:38:41 +0000
Subject: Using $PHP_SELF
Groups: php.general 
Request: Send a blank email to php-general+get-157818@lists.php.net to get a copy of this message
I am having problems while transfering information to another page. I am using $PHP_SELF and I am getting errors here is a bit of code so you can see what I am saying: echo "<a href='$PHP_SELF?file=$file&dir=".$mydir."'>$file</a><BR>\n"; This is what the browser is saying... Notice: Undefined variable: PHP_SELF in c:\inetpub\wwwroot\test\download.php on line 54 I don't know what to do.

« previous php.general (#157818) next »