Re: determing real url on virtual host
On 3 Mar 2005 21:21:04 -0800, yawnmoth <terra1024@yahoo.com> wrote:
> say i have two domain names - adomain.com and anotherdomain.com.
> adomain.com's base directory is the same as
> anotherdomain.com/~adomain/. if i were running a php script on
> adomain.com, how might i determe the real path of that php script (ie.
> not the virtual path)?
Why not make a sample script that prints all env variables to find out?
I am not familiar with php, but judging from CGI, you might get something
useful from SCRIPT_FILENAME
|