Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:34:08+00:00 2026-06-12T14:34:08+00:00

I am trying to create an upload script and am having issues with IE8

  • 0

I am trying to create an upload script and am having issues with IE8 and older. (of course 😉 ) In all other browsers it works fine but in IE8 the $_FILES array is empty. This is the html code being used:

<FORM method=post action=api/upload.php target=form8230839>
    <INPUT name=file type=file>
    <INPUT value="Submit Query" type=submit>
    <INPUT name=id value=id66130748349062623150808191 type=hidden>
</FORM>
<IFRAME id=form8230839 name=form8230839></IFRAME> 

(note the code is being generated by javascript createElement so IE8 is writing it out with the caps and lack of quotes around attributes.)

Then in the php file I am doing:

print_r($_FILES);

which returns as just an empty array? Any help would be great. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:34:10+00:00Added an answer on June 12, 2026 at 2:34 pm

    Add enctype="multipart/form-data" to your form tag.

    Spec: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a controller to upload photos in my MVC4 application. But
I'm trying to create a script that will upload a file to a website.
I'm trying to create a script that would allow the user to upload images
I am trying to create a PHP file to upload images to my website.
I'm trying to create a dialog which will allow users to upload an image.
I am trying to upload a file with playframework. I create a form and
Ok so I am trying create a login script, here I am using PHP5
Trying to create a black line in my view to separate text blocks but
I'm having trouble trying to resize an image and then create a thumb. Both
I'm trying to create an FTP script that will copy a local folder structure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.