-
SitePoint Enthusiast
Empty $_FILES array with enctype="multipart/form-data"
This is strange. I have a form to upload photos. Here is my form tag:
<form enctype="multipart/form-data" action="<?$_SERVER["PHP_SELF"];?>" method="post">
With the enctype="multipart/form-data" in the form tag, print_r($photos); returns nothing. If I remove the enctype, it shows the contents of my array.
Not sure what to do here. Any help is greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks