Php Get Url Without Parameters And Arguments In C