Hi all, can anyone help me out here? I've been running a php script on my website for years now, it was a simple file upload script i found on the web. It's worked perfectly until my host moved servers, now i can't get it to work.
here is the code (i've removed the bulk to make it easier to read)
<?
// manually set action test
//$action = "upload";
switch($action) {
default:
echo "<a href=$PHP_SELF?action=upload>Upload File</a>";
break;
case "upload":
echo "upload has been clicked";
break;
}
?>
the exact same code works fine on my other website (different server)
heres is a link to the live code - http://www.ultimatereef.net/test2.php
this is obviously something to do with the new server however my host has drawn a blank.
anyone got any ideas?
TIA