I have another issue.
I use the following command to copy files in my PHP file.
copy($_FILES[$file_obj_name]["tmp_name"], $target_path . $filename);
I then display the uploaded file as follows on the HTML page.
echo "<a href='file://" . $file_url . "'>" . $file . "</a>";
When i hover over the hyperlink the file path looks OK but when i click on the hyperlink nothing happens, i.e. the file does not open and i don't get the "Do you want to save or open" prompt which i usually get on other sites.
I've tried this in IE 9 (my default browser) and Firefox 12.0 (i'm not sure if this is the correct version number but it's what i see when i do Help -> About Firefox) and neither one works. I need to make my website work mostly in Firefox.
Can you plz help?