Hello again
duggie-belfast-pm at blackstar.co.uk
duggie-belfast-pm at blackstar.co.uk
Tue Jan 29 05:38:12 CST 2002
On (29/01/02 11:30), Stray Toaster wrote:
> 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.
It would appear to have been 'after'.
Duggie
--
"I love my brick." - Father Jack Hackett
More information about the Belfast-pm
mailing list