I thought cgi_SERVER_NAME would return : www.abc.com , if that is what the user was accessing with.

- Calvin
  ----- Original Message -----
  From: Randell B Adkins
  To: CF-Talk
  Sent: Wednesday, October 01, 2003 7:23 AM
  Subject: Re: Extract Domain and scriptname seperate


  WHat you are looking for are the following:

  CGI.SEVER_NAME = http://www.abc.com

  CGI.SCRIPT_NAME = /index.cfm?id=500


  >>> [EMAIL PROTECTED] 10/01/03 07:19AM >>>
  Hi,
  I am looking for a way to extract the domain name and the script name
  to be
  seprated.
  Eg: Following is my URL
  http://www.yourname.com/abc/support.cfm?abc=123

  then it should return 2 different values  seperate
  http://www.yourname.com and /abc/support.cfm?abc=123

  or
  http://www.abc.com/

  should return just http://www.abc.com

  or

  http://www.abc.com

  should return just http://www.abc.com



  Ketan Patel
  G3 Technology Group, LLC
  Graphics III Advertising, Inc.
  (410)789-7007 or (800)783-1799
  "It's Not Creative if it doesn't Sell."
  http://www.g3group.com <http://www.g3group.com>




[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to