Hi I am running Apache 1.3.x with PHP Version 4.3.2-RC1 on Windows XP pro, I have tried three file upload scripts (to upload PDF files) all work on my Windows Server.
But on the ISP side, thats Linux Server with Apache 2, PHP 4.3.1 when I use the same scripts, (all of them) somehow the PDF files being uploaded get corrupted. I cant open those files after uploads. Its Wierd! Why would PHP be corrupting files, which are being simply uploaded to a desired directory.
Sample Upload Form:
<form enctype="multipart/form-data" action="upload.php" method="POST">
<input type="hidden" name="submitted" value="true">
Upload this file:<br>
<input name="userfile" type="file">
<br><br>
<input type="submit" value="Send File">
</form>
Please Help!