bryan_is_south wrote:
>> Yes. You can do this just fine. The directory where your files will
>> ultimately go must be writable by your webserver user. The details
> of this
>> depends on your configuration and operating system.
> ---------------------------------
> My operating system is XP
> In php.ini I looked at File_Uploads and changed the 'upload_tmp_dir'
> to the folder i want the files to go to, but still no success.
>
> Any other changes that I have to make?
> Thanks,
> -bryan
20080830 0758 GMT-6
Have you created the phpinfo.php page yet?
<?php
phpinfo();
?>
save as phpinfo.php
Now you can see everything in your ini.
Look down at PHP Core and find the line file_uploads and make sure the value
and
master are set to ON.
Next find the
upload_max_filesie, upload_temp_dir and post what those say.
Next, make sure your form is created similar to this:
<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="__URL__" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
If it doesnt say enctype="multipart/form-data" then you arent uploading
anything.
Wade