4 messages in com.mysql.lists.mysqlRE: Broken File Upload
FromSent OnAttachments
William Merrick26 Oct 2004 12:52 
Jay Blanchard26 Oct 2004 13:02 
Jay Blanchard26 Oct 2004 13:16 
Jay Blanchard26 Oct 2004 13:26 
Subject:RE: Broken File Upload
From:Jay Blanchard (jay.@niicommunications.com)
Date:10/26/2004 01:02:34 PM
List:com.mysql.lists.mysql

[snip] The following php code was working to upload files to my mysql db until I upgraded to mysql 4.0. Now, the files I try to upload do not get put into the folder. There is no error, the file just does not get posted. Any ideas?

<p> Uploading File...<p>

<?php

echo $userfile; echo '<p>';

$destination = 'uploads/' . $HTTP_POST_FILES['userfile']['name']; @copy($HTTP_POST_FILES['userfile']['tmp_name'],$destination);

error_reporting(E_ALL);

?> [/snip]

Really? It was just putting the uploaded information into the database?