Jump to content

File upload class works in IE but not in Firefox or Chrome


Bigfunkychief

Recommended Posts

Hello,

New to file upload boxes, working in PHP.

My code seems to work great in IE, but not in Firefox or Chrome.

 

This form shows the input box for the filename in IE and Firefox (with a Browse button), but Chrome only shows the Browse button, no filename box.

 

<form enctype="multipart/form-data" method="post" action="profile.php">

  <input type="file" size="32" name="image_field_photo" value="">

  <br><input type="submit" name="Submit" value="Upload">

 

IE will upload the file to the specified directory, then update the DB based on the filename.

 

Firefox will not upload the file, nor will Chrome.

 

Using SSL for all pages.

 

Using an upload class I got off PHPClasses.org - what's weird is I have used this same class on another project, and can upload files via Chrome.  Any ideas?

Thanks!

 

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.