I'm using a script and whenever a page is generated, the URL for the links are being called twice. Example: Here is the code from the section of the file I'm having issues with: [code] <a href="/viewimage/<?=$filename?>" target="_blank" class="pagelinks" >View Image and Codes</a> <a class="pagelinks" href="<?=HOMEPAGE?>upload"><b>Upload Another<b></a><br><br> <a href="/viewimage/<?=$filename?>" target="_blank"><img src="<?=$filename?>" border="0" width="170"></a><br>[/code] Here is what's happening: When I click on View Image and Codes, it takes me here: http://www.punkyourspace.com/viewimage/http://www.punkyourspace.com/uploads/images/2006-12-29/86Vgcu7dgx.png When I click on Upload Another, it takes me here(this is correct): http://www.punkyourspace.com/upload Here is a screnshot of the page, or you can visit it and try for yourself at http://www.punkyourspace.com/upload [img]http://www.punkyourspace.com/uploads/images/2006-12-29/GEawioYY32.jpg[/img]