<?php echo parse_url( http://mydomain.com?url=http%3A%2F%2Ffoo.com);
You have javascript disabled. You will not be able to edit any code.