Print html

Hi,

i am a newbie and i have a problem,

i have a script that resizes an image then displays it , at the end of the script it uses this to show the image:

print("<img src="$final_filename">");

i need to print the images in ghuploads/final_filename

how do i change the print script to point to the ghuploads dir?

i have tried the obvious but i cant get it to work