Hi
I have earlier ask a question about getimagesize that didn't work after server change... I have now found out that it wasn't getimagesize that didn't work but the script around it...
I've simplified the script to only where the problem is... And exchanged the getimagesize function with echo "ok"; just to make debugging easier..
<?
if($_POST){
IF($upload>''){echo "ok";}
}
?>
<form enctype="multipart/form-data" method="post" action='<?=$_SERVER[PHP_SELF]?>'>
<input name="upload" type="file">
<input type="submit" name="Submit" value="Upload">
</form>
<?
This very simple script simply writes OK on the screen when something is put in the field for upload...
The problem is that it doesn't work on the new server... I have just tried uploading the script on another website which is still at the old host compagny, and here it works fine... But if I upload it on the new server at the new host compagny it doesn't work...
Could it be different versions of PHP or what could be the reason why such a simple function doesn't work..
Does anyone have an idea ?
best
Michael