Hi,
In my case I have a form where people submit a URL and on post I have to
extract this into pieces.

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>


  -----Original Message-----
  From: Randell B Adkins [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 01, 2003 7:24 AM
  To: CF-Talk
  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