CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 getting core url into a query

Print topic Send  topic

Author Message
Martin
Posted: 01/23/2003, 4:33 PM

I have a number of urls pointing to a site and would like to grab the core url string ie: from "http://www.bubba.com/abc.html" just grab "bubba", or even "www.bubba.com"

Any suggestions?
I have $url=parse_url($REQUEST_URI);
$coreurl = $url[host];

but it isn't doing it...

Also: Anyone interested in taking on a number of piece work type jobs for getting this web up and running, please send a note.

Best Regards,
Martin
Martin
Posted: 01/23/2003, 4:47 PM

bub
Posted: 01/25/2003, 8:44 AM

$HTTP_HOST

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.