PHP Classes
Icontem

Subject: Broken imageupload.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
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  
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!

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products