Hi Jace,
this really does not look the way you should be doing it. Why don't you just write a function in that .php file and include it only once? like this:
Code:
<?
include '/full_path/urlinc/file.php;
?>
<a href="<?=get_url();?>">
Of course, the function should be called get_url() and it should return the URL string...