Hi everyone
I changed the code a bit. Using the file tmp now.
Here's the code and the error (still error but less)
Thanks for the help
upload.php
-
?
phpinfo();
echo $_POST['userfile']['tmp'];
if (is_uploaded_file($_POST['userfile']))
Hi everyone thanks.
I did add the enctype but it's still not working. Here're
the codes
Sorry if I posted to the wrong list. because I was trying to store the file as well in
the mysql db blob. Someone suggested to print all the $ post vars as I print, only the
MAX_FILE_SIZE shows up as a
on 05/30/2003 9:16 AM, Dewi Wahyuni at [EMAIL PROTECTED] appended the following
bits to my mbox:
if($userfile) it fails. BUT $userfile_name is able to display the filename .
With print_f($HTTP_POST_VARS) also the userfile was not displayed, only other
input element which is Maximum file
If I understand your post and desired outcome correctly, I think the problem
would lie in the upload.php file. You may need to post the code from that
file for anybody to really help you out.
Rich
-Original Message-
From: Dewi Wahyuni [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30,
on 05/30/2003 9:16 AM, Dewi Wahyuni at [EMAIL PROTECTED] appended the following
bits to my mbox:
if($userfile) it fails. BUT $userfile_name is able to display the filename .
I just tried the script on your site...
It looks like you are trying to fopen the actual file name. You need to
fopen