View Single Post

  #1 (permalink)  
Old 01-19-2008, 12:26 PM
Mainutz M Mainutz M is offline
Junior Member
 
Join Date: Jan 2008
Posts: 1
Mainutz M is on a distinguished road
PHP help please?

I have this (just an example):var first="www.mysite.com?id=3&q=nice+game ";and I want:var second="www.mysite.com" How can I do that ?I mean, extract only the domain from that url
__________________
Powered by Yahoo! Answers
Reply With Quote