Okay, I checked out the link listed below, and tried using what is given
there, but I get the following error:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
T_STRING or T_VARIABLE or T_NUM_STRING in
d:\www_root\locutus\phpman\admin\test.php on line 16
Here's the code that I am using:
<form enctype="multipart/form-data" action="test.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
I am able to get rid of this error, but changing the line to:
However, the file is then uploaded as Array[name]
How do I get past this?
"Eriol" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Jason" <[EMAIL PROTECTED]> disgorged:
> : I would like to be able to upload files from the client computer to the
> : server via a form. I know how to build the form, but am not sure of the
> : best way to process this. I know there are certain ftp functions that
> : do this, which I'm not sure how to use. Are there any others?
> More specifically, move_uploaded_file() and is_uploaded_file()
> Take care.. peace..
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php