<?xml version="1.0" encoding="utf-8"?>
<!-- generator="CMF " -->
<rss version="0.91">
    <channel>
        <title>verot.net - class.upload.php forum</title>
        <description><![CDATA[class.upload.php latest posts on verot.net]]></description>
        <link>http://www.verot.net/</link>
        <lastBuildDate>Mon, 06 Feb 2012 14:34:32</lastBuildDate>
        <generator>CMF </generator>
        <item>
            <title>Image resize failes (execution time)</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4370&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Gunther, 2 days, 7 hours ago<br />1 reply, last reply 2 days, 1 hour ago</i><br /><br />Hello, first greate file upload class.<br />Got this issue, when uploading large images, i want to resize them to surtin sizi before saveing them. But i am getting this error every time image needs to be resized: atal error: Maximum execution time of 30 seconds exceeded in upload_class.php on line 4270<br /><br />In the code on line 4270: <i>$rgba = imagecolorat($image_dst, $x, $y);</i><br /><br />Images that dont need to be resized upload okay.<br />Here is the function call: <br /><pre class="code php">if($handle->file_is_image && $handle->image_src_x>2000){
  // resize image to 2000px width
  $handle->image_resize            = true;
  $handle->image_ratio_y           = true;
  $handle->image_x                 = 2000;
}</pre>]]></description>
            <author>Gunther</author>
            <pubDate>Sat, 04 Feb 2012 06:05:00</pubDate>
        </item>
        <item>
            <title>error files with special characters</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4358&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Paulo Andrade, 1 week, 2 days ago<br />1 reply, last reply 1 week ago</i><br /><br />Good morning.<br /><br />The problem I'm reporting occurs when I try to send a file that has special characters. Even though the file_auto_rename enabled, it does not work correctly. For example:<br /><br />Original file: teste com acentuação.jpg<br />Output what happens: testecomacentuayy.jpg<br />Output expected: teste_com_acentuacao.jpg]]></description>
            <author>Paulo Andrade</author>
            <pubDate>Fri, 27 Jan 2012 18:49:00</pubDate>
        </item>
        <item>
            <title>PDF upload</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4357&amp;lang=en-GB</link>
            <description><![CDATA[<i>by christian, 1 week, 4 days ago<br />1 reply, last reply 1 week ago</i><br /><br />Can i upload pdf file with verot ? and if i can how ?]]></description>
            <author>christian</author>
            <pubDate>Wed, 25 Jan 2012 13:39:00</pubDate>
        </item>
        <item>
            <title>Multi resized</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4354&amp;lang=en-GB</link>
            <description><![CDATA[<i>by topheur, 2 weeks, 3 days ago<br />5 replies, last reply 5 days ago</i><br /><br />Hello,<br />Sorry for this stupid question, but how to resize it the same image in multiple formats?<br />thank you]]></description>
            <author>topheur</author>
            <pubDate>Thu, 19 Jan 2012 14:01:00</pubDate>
        </item>
        <item>
            <title>Permissions Error when writing upload file</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4338&amp;lang=en-GB</link>
            <description><![CDATA[<i>by DCJones, 1 month, 2 weeks ago<br />1 reply, last reply 1 month, 2 weeks ago</i><br /><br />Hi all,<br /><br />When I run the script to upload my test file I get the following error;<br /><br />Error: Destination directory can't be made writeable. Can't carry on a process.<br /><br />I have double check that the destination directory is writable and it is.<br /><br />Can anyone help with this error<br /><br />Many that inadvance,<br /><br />Dereck]]></description>
            <author>DCJones</author>
            <pubDate>Fri, 23 Dec 2011 15:45:00</pubDate>
        </item>
        <item>
            <title>How to get the error in french ?</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4336&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Donadieu, 1 month, 2 weeks ago<br />2 replies, last reply 2 weeks ago</i><br /><br />Hello,<br />I use version 0.29 and try unsuccessfully to activate the franch translation of error messages.<br />I do multiple upload (3) and it woks fine.<br />But when i try to test my upload with wrong type of document i always get englih erros messages instaed of french one...<br />i spend lot of time ont his without understand why.<br /><br /><pre class="code phhp">foreach ($files as $file) {
  // we instanciate the class for each element of $file
  //$handle = new Upload($file); // message in english
  $handle = new Upload($files, 'fr_FR');</pre><br />with this statement i get the following error :<br />Notice: Undefined index: error in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2475<br />Notice: Undefined index: tmp_name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2516<br />Notice: Undefined index: name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2517<br /><br />thank you for your answer.<br /><br />regards]]></description>
            <author>Donadieu</author>
            <pubDate>Thu, 22 Dec 2011 20:13:00</pubDate>
        </item>
        <item>
            <title>Image_ratio_crop doesn't work</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4324&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Fabio Spampinato, 1 month, 3 weeks ago<br />8 replies, last reply 1 day, 2 hours ago</i><br /><br />Hi,<br />first of all thank you for this wonderful class is really fantastic!<br />I use it on my under-development site: www.wallpaperup.com , everything works beautifully if the output image is resized while maintaining the same ratio, but does not work if the ratio of the output image is different. Test it yourself for better understanding, click on some resolutions under this wallpaper for example: http://www.wallpaperup.com/butterfly-224.html the code that deals with this is: <br /><br /><pre class="code php">if ( ! file_exists ( $location . $width . $height . '.jpg' ) )  {
  include_once ( ROOTPATH . '/scripts/class.upload.php' );
  $handle = new Upload ( $original_file);
  if ( $handle->uploaded ) {
    $handle->image_resize = true;
    $handle->image_ratio_crop = true;
    $handle->image_x = $width;
    $handle->image_y = $height;
    $handle->file_new_name_body = $width . $height;
    $handle->process ( $location );
    if ( $handle->processed ) {
      unset ( $handle );
    }
  }
}</pre><br />Which may be the problem? Thank you in advance.<br /><br />( Where do I enter the code "echo $ handle-> log;" to write log file? And where it will be created? )]]></description>
            <author>Fabio Spampinato</author>
            <pubDate>Fri, 16 Dec 2011 21:38:00</pubDate>
        </item>
        <item>
            <title>Reading the DPI?</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4316&amp;lang=en-GB</link>
            <description><![CDATA[<i>by dougy, 2 months ago<br />1 reply, last reply 2 months ago</i><br /><br />Hiya,<br /><br />is it possible to read the dpi of ANY picture (jpeg, bmp, gif) with the upload.class.php?<br /><br />Regards,<br /><br />dougy]]></description>
            <author>dougy</author>
            <pubDate>Fri, 02 Dec 2011 13:52:00</pubDate>
        </item>
        <item>
            <title>Error when upload and rename file</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4315&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Paulo Andrade, 2 months ago<br />1 reply, last reply 2 months ago</i><br /><br />What steps will reproduce the problem?<br />1. Upload a a file containing accents<br /><br />What is the expected output? What do you see instead?<br />I expect that the filename of the file give the correct normalize name, but the filename didn't give the correct. For exemple:<br />Name of file: Ação Global<br />New name expected: acao_global<br />Real new name: acyy_global<br /><br />The system always give me the letter "Y" in place to accents<br /><br />What version of the product are you using? On what operating system?<br />class 0.31]]></description>
            <author>Paulo Andrade</author>
            <pubDate>Fri, 02 Dec 2011 13:36:00</pubDate>
        </item>
        <item>
            <title>Add radio button to choose some function</title>
            <link>http://www.verot.net/php_class_upload_forum.htm?php_class_upload_forum_id=4303&amp;lang=en-GB</link>
            <description><![CDATA[<i>by Thomas, 2 months, 2 weeks ago<br />1 reply, last reply 2 months, 2 weeks ago</i><br /><br />Hello Colin, it's possibile add radio button in html, to add/remove function? <br />Like resize - watermark .....<br /><br />Thank's Thomas.]]></description>
            <author>Thomas</author>
            <pubDate>Tue, 22 Nov 2011 21:34:00</pubDate>
        </item>
    </channel>
</rss>

