Jeeeeeeez.... I've been doing PHP for years, but do you
think I can get
the bloody file upload to work???
I'm running 4.3.11 (don't ask)
--------------------------------
safe_mode = Off
file_uploads = On
; this tmp dir definately exists and has full control
permissions
; I already tried it with backslashes
upload_tmp_dir = C:/PHP4/uploadtemp
upload_max_filesize = 8M
---------------------------------
<form action="policy.php?pol_id=20"
method="post" name="policyFiles"
id="policyFiles"
encoding="multipart/form-data">
<input type="hidden"
name="cat_id" id="cat_id"
value="4">
<input type="hidden"
name="user_actor_id"
id="user_actor_id"
value="22">
<input type="hidden"
name="pol_id" id="pol_id"
value="20">
<input type="hidden"
name="MAX_FILE_SIZE"
id="MAX_FILE_SIZE"
value="8000000">
<input type="file"
name="new_file" id="new_file">
<input type="submit"
name="Policies" id="Policies"
value="Update
Files">
</form>
running var_dump($_FILE); on the destination script reveals
an empty
array.
Will someone please inform me as to where my stupidity lies
this time
:/
BTW. I have
display_errors = On
error_reporting = E_ALL
log_errors = On
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|