Hello again
Stray Toaster
mwk at stray-toaster.co.uk
Tue Jan 29 05:30:10 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 $what_you_want = Apache->request->hostname;
as I think I trashed my last mail after/before/during sending. d'oh.
m.
--
No one in the world ever gets what they want and that is beautiful
Everybody dies frustrated and sad and that is beautiful
They want what they're not and I wish they would stop saying,
Deputy dog dog a ding dang depadepa
More information about the Belfast-pm
mailing list