excuse my ignorance here, but is this a configurable options?  Anytime I 
use $PHP_SELF, it strictly the directory and filename..

for example say I have a forum running at 
www.somedomain.com/forum/index?Message=12

my $PHP_SELF strictly gives me /forum/index.php.  I know this for a fact 
because I use a hybrid of the CF coding style of fusebox, and all my form 
actions are set to $PHP_SELF and the $QUERY_STRING info is never appended 
to it...

At 09:05 AM 3/20/01 -0800, Data Driven Design wrote:
>$PHP_SELF will be the filename including $QUERY_STRING and $PATH_INFO
>variables, $SCRIPT_NAME should be just the filename.
>
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, March 20, 2001 5:19 AM
>Subject: [PHP] get filename?
>
>
> > Hi
> >
> > Whats the best method to get the filename of the file I am using. E.G if
>the
> > file is called tom_woz_here.php and would I go about stickin that into
> > $FileName= ???
> >
> > Thanks
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to