Re: Relative Url
| From: | Chris Shiflett | Date: | Thu, 01 Apr 2004 16:54:03 +0000 |
| Subject: | Re: Relative Url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182040@lists.php.net to get a copy of this message | ||
--- Chris Thomas <cwthomas@connectmail.carleton.ca> wrote:
> Is there anyway that i can get a url relative to my server for a
> script that is being run??
$relative_url = '/';
That's a relative URL to your document root. What are you wanting,
exactly?
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/