note 10792 modified in Constants by zak

From: Date: Mon, 22 Jan 2001 21:59:04 +0000
Subject: note 10792 modified in Constants by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-10083@lists.php.net to get a copy of this message
[Editor's Note: A simpler way to find the file name of the currently requested script is: $script = basename ($REQUEST_URI); --zak@php.net] This works well for me: // Get the script name $script=explode('/',$PHP_SELF); $script=$script[sizeof($script)-1]; I can then use things like: echo<<<EOF <form action="$script?add_your_params_here" method="POST"> http://www.php.net/manual/constants.php

« previous php.notes (#10083) next »