Re: current page
| From: | Mike | Date: | Fri, 28 Sep 2001 01:55:46 +0000 |
| Subject: | Re: current page | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9586@lists.php.net to get a copy of this message | ||
The easiest way to find out these kind of constant variables is to create
this page and view it:
<?php
phpinfo();
?>
"John Asendorf" <JAsendorf@lcounty.com> wrote in message
news:24F4A402A861D5118A1A00B0D0220374377F41@exchange.lcounty.com...
> I believe you can call:
>
> $thisepage = $PHP_SELF;
>
> you'll need to look it up though
>
> ---------------------
> John Asendorf - jasendorf@lcounty.com
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
>
>
> > -----Original Message-----
> > From: Stanley Cheung [mailto:stanley@javacatz.com]
> > Sent: Thursday, September 27, 2001 10:32 AM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] current page
> >
> >
> > Hi all,
> >
> > anyone can tell me the parameter for name of current page?
> > e.g:
> > www.abc.com/hello.php
> >
> > how can retrieve the value (hello.php)?
> >
> > pls advise. thx!
> >
> > Stanley
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >