On Mar 28, 2007, at 1:36 PM, Richard Davey wrote:
Philip Thompson wrote:
Hi. I'm storing an uploaded file into a MySQL database. I want the
file to then be downloaded and viewed. Uploading looks like:
Assuming you actually have a good reason *why* you are storing
uploaded files in your da
On Mar 28, 2007, at 12:59 PM, Tijnema ! wrote:
On 3/28/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
Hi. I'm storing an uploaded file into a MySQL database. I want the
file to then be downloaded and viewed. Uploading looks like:
if (is_uploaded_file($file) && $filename) {
$handle = fopen (
Philip Thompson wrote:
Hi. I'm storing an uploaded file into a MySQL database. I want the file
to then be downloaded and viewed. Uploading looks like:
Assuming you actually have a good reason *why* you are storing uploaded
files in your database, how has the table been set-up? What is the tab
On 3/28/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
Hi. I'm storing an uploaded file into a MySQL database. I want the
file to then be downloaded and viewed. Uploading looks like:
if (is_uploaded_file($file) && $filename) {
$handle = fopen ($file, 'r');
$resume["data"] = base64_encode (f
Hi. I'm storing an uploaded file into a MySQL database. I want the
file to then be downloaded and viewed. Uploading looks like:
if (is_uploaded_file($file) && $filename) {
$handle = fopen ($file, 'r');
$resume["data"] = base64_encode (fread ($handle, filesize ($file)));
fclose($handle);
5 matches
Mail list logo