Hello Rob
I am uploading them as images to be stored as images, see the code below:
<HEAD></HEAD>
<BODY>
<FORM METHOD="POST" ENCTYPE="MULTIPART/FORM-DATA" ACTION="<?php echo "$PHP_SELF?action=upload_file&dir=$dir"; ?>">
Local Filename <INPUT TYPE="FILE" NAME="userfile">
<INPUT TYPE="SUBMIT" NAME="submit" VALUE="Upload">
</FORM>
<?php
echo $userfile . "<br>";
echo $userfile_name . "<br>";
echo $userfile_size . "<br>";
echo $userfile_type . "<br>";
?>
</BODY>
As I mentioned this will upload text but not images, it's as though the server is not allowing them to be stored. Note I am using php4. Regards