Link to home
Start Free TrialLog in
Avatar of ibradshaw
ibradshaw

asked on

Get HTTP address

Hi,

I'm writing a CGI that is to run independently of whichever site it is on. I need to be able to get the http address into a variable. Any ideas?

The bit I need is domainname.com from the http://www.domainname.com in the IE / FireFox address bar.

The CGI is located at the same address.

Thanks

Ian
ASKER CERTIFIED SOLUTION
Avatar of radevo
radevo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ibradshaw
ibradshaw

ASKER

Hi,

Thnaks, not near my server at the moment (out on site somewhere), but will try as soon as i can - just so you know the Q's not forgotten!

Cheers

Ian
Sorry!!!

Thanks for all your help.

Apologies, again.

Ian