Hello again
Stray Toaster
mwk at stray-toaster.co.uk
Tue Jan 29 05:28:19 CST 2002
On Tue, Jan 29, 2002 at 11:19:09AM -0000, Terrential wrote:
> Hello, I've got another problem.
>
> say i have a url: http://www.terrential.com/ecards/ecard.pl
> is there anyway that i can get the www.terrential.com bit on its own thru
> some sort of reg exp??
use Apache;
my $r = Apache->request;
my $hn = $r->hostname;
--
Thank you for expressing an interest in this sig
More information about the Belfast-pm
mailing list