PHP Classes

Broken imageupload.php

Recommend this page to a friend!

      AJAX File Uploader  >  All threads  >  Broken imageupload.php  >  (Un) Subscribe thread alerts  
Subject:Broken imageupload.php
Summary:Broken imageupload.php and other problems
Messages:1
Author:Paul Lautman
Date:2008-10-20 20:56:17
 

  1. Broken imageupload.php   Reply   Report abuse  
Picture of Paul Lautman Paul Lautman - 2008-10-20 20:56:17
The line:
echo '<script> alert("Failed to find the final upload directory: $dirName);</script>';

should say:
echo "<script> alert('Failed to find the final upload directory: $dirName');</script>";

The check (is_dir($_GET['dirname']) is not compatible with the hard coded dirname $dirName="uploads";


Also, when I upload a small file all is fine, but when I try to upload a large file I get a message: Failed to upload file and then the image loading.gif displays.

I think you broke it all in the latest update!