* Thus wrote jeffrey pearson ([EMAIL PROTECTED]):
> Does anyone know how I would parse the domain that scripts are currently being
> executed in?
>
> ...
>
> dev.domain.com/somefile.php
>
> where on the live site it would be
>
> www.domain.com/somefile.php
In most cases $_SERVER['HTTP_HOST'] i
Does anyone know how I would parse the domain that scripts are currently being
executed in?
For example:
I use seperate domains for development and production. There are times I have to
specify a hard coded url instead of a relative one. So for the development it would be;
dev.domain.com/somef
2 matches
Mail list logo