RE: [PHP] doc name
| From: | Matt Stone | Date: | Fri, 17 Nov 2000 01:52:51 +0000 |
| Subject: | RE: [PHP] doc name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25838@lists.php.net to get a copy of this message | ||
Does that return the same value as $SCRIPT_NAME?
-----Original Message-----
From: Ignacio Vazquez-Abrams [mailto:ignacio@openservices.net]
Sent: Friday, 17 November 2000 11:46 AM
To: Rodney Davis
Cc: PHP LIST
Subject: Re: [PHP] doc name
On Thu, 16 Nov 2000, Rodney Davis wrote:
> I want to write a script that gets a specific page_id from a mysql
> database based on the url or the doc title. Is there a function
> that returns the doc title or the url?
>
> thanks,
>
> rodney
>
Try $HTTP_SERVER_VARS["PHP_SELF"] or just $PHP_SELF.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net