Php Function Pass Variable Through Url To Ip