I have a very basic form that simply gets a label and an image file from the user to upload. It works beautifully in everything but IE, and I have no idea why. In IE, the image does not ever get saved to the correct path. Here's the code for that section:
<?php
/**
* Menu Callback; edit ad images
*/
function localadsplus_images($id = NULL) {
global $user;
$output = '';
if ($id) {
$ad = db_fetch_object(db_query("SELECT id, uid, title FROM lap_ads WHERE id = %d", $id));
if ($user->uid == $ad->uid || $user->uid == 1) {
$result = db_query("SELECT * FROM lap_ad_image WHERE aid = %d", $id);
$num_img = db_num_rows($result);
$form['#attributes'] = array ('enctype' => 'multipart/form-data');
$form['aid'] = array(
'#type' => 'hidden',
'#value' => $id
);
$form['main'] = array(
'#type' => 'hidden',
'#value' => $num_img ? 0 : 1
);
$form['upload'] = array(
'#type' => 'fieldset',
'#title' => t('Upload a new image')
);
$form['upload']['label'] = array(
'#type' => 'textfield',
'#title' => t('Label'),
'#size' => 20,
'#maxsize' => 32,
'#required' => TRUE
);
$form['upload']['image'] = array(
'#type' => 'file',
'#title' => t('Image'),
'#description' => t('Upload a local image file (JPEG images only).'),
'#required' => FALSE
);