I have a site that is using parse_url in this command:
<?php $domain = parse_url($row['buyfrom'], PHP_URL_HOST); ?>
buyfrom is a url and in this case the specific url I having difficulty with is very long:
http://www.target.com/Corningware-SimplyLite-10-pc-Casserole-Set/dp/B001A40S98/ref=sr_1_2?ie=U TF8&searchView= grid5&qid=12757 71178&frombrows e=0&fromGsearch =true&node=1038 576|1287991011& keywords=cornin gware%2010&sear chSize=30&id=Co rningware%20Sim plyLite%2010-pc%20Casserole% 20Set&searchBin NameList=purcha sing_channel,su bjectbin,price, target_com_prim ary_color-bin,target_com_ size-bin,target_com_ brand-bin&searchNodeI D=1038576|12879 91011&searchRan k=target104545& sr=1-2&searchPage=1& rh=...