<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for johnlanz</title><link>http://disqus.com/by/johnlanz/</link><description></description><atom:link href="http://disqus.com/johnlanz/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 04 Sep 2011 20:11:40 -0000</lastBuildDate><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-302621716</link><description>&lt;p&gt;window.FormData is the one who do the ajax upload and Mozilla 3.6 doesn't support it. That means multiple select and drag n drop is not working as well for now. I'm still founding a way to process multiple select using iframe upload. Hopefully this week I have my updates for that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 04 Sep 2011 20:11:40 -0000</pubDate></item><item><title>Re: Ajax File Upload using jQuery and CakePHP Media Plugin</title><link>http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/#comment-302127503</link><description>&lt;p&gt;Hi,&lt;br&gt;I encounter this error on windows when i updated my php to 5.3.5 (xampp 1.7.4).&lt;br&gt;There is a conflict between Cakephp Mime Types and Pear Mime types. I rename the folder or disable Pear Mime Type located at /php/PEAR/MIME.. That solves the problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 04 Sep 2011 03:11:49 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-298150624</link><description>&lt;p&gt;That's a bug and thanks for raising that issue.&lt;br&gt;I already upload my changes on github. Why not try it then inform us if it works fine.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 29 Aug 2011 21:05:10 -0000</pubDate></item><item><title>Re: Paypal fees when withdrawing to BPI, BDO, Unionbank accounts</title><link>https://www.pinoymoneytalk.com/withdraw-paypal-bpi-bdo-unionbank/#comment-295656032</link><description>&lt;p&gt;I've been using paypal for almost 2 years just for accepting web development payments and use Unionbank EON account to withdraw. All I can say is withdrawing money from paypal is not free. I notice that the currency rate is always deducted by 2pesos (e.g. current currency rate is:$1 = 44.5 PHP) when you withdraw it in paypal you get $1 = 42.5 PHP.. So if you widraw $500 you are paying 1,000 pesos for that withdrawal. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Thu, 25 Aug 2011 23:52:17 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-293394269</link><description>&lt;p&gt;There isn't a limit on the plugin but sometimes the form post causes that problem.&lt;br&gt;I got this error when i uploaded 30MB of file: "Warning: POST Content-Length of 576992722 bytes exceeds the limit of 134217728 bytes in Unknown on line 0"&lt;br&gt;To solve this you can either change your max file size on php.ini: post_max_size and upload_max_filesize&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 22 Aug 2011 21:39:28 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-292960160</link><description>&lt;p&gt;I miscalculated firefox 3.6.2 I thought it supports html5/ajax upload. The browser only support drag n drop and multiple file select but it doesn't support ajax upload like window.FormData. So iframe upload is required for that and I need to update my code soon to fixed that issue.&lt;/p&gt;&lt;p&gt;On the other hand, pxupload_text is not the one who accepts the drop objects but it is 'px-widget' which is the main container. So you can append blocks that says 'Upload here...' inside 'px-widget'. &lt;br&gt;Actually that is my plan on the next version to add a drag label.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 22 Aug 2011 07:59:19 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-292815126</link><description>&lt;p&gt;hi khaled,&lt;/p&gt;&lt;p&gt;what version of firefox are you using?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 21 Aug 2011 23:37:16 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-284947644</link><description>&lt;p&gt;At the moment i think the clean way is to pass uploaded data using your controller. Something like: &amp;lt;div id="upload_data"&amp;gt;json data&amp;lt;/div&amp;gt;&lt;br&gt;on js: afterEachUpload: function(data, status, formContainer){&lt;br&gt;                $jsonData = $.parseJSON( $(data).find('#upload_data').text() );&lt;br&gt;           }&lt;/p&gt;&lt;p&gt;Example:&lt;br&gt;&lt;a href="https://github.com/johnlanz/jquery-fileuploader-codeigniter/blob/master/application/controllers/upload.php#L38" rel="nofollow noopener" target="_blank" title="https://github.com/johnlanz/jquery-fileuploader-codeigniter/blob/master/application/controllers/upload.php#L38"&gt;https://github.com/johnlanz...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://github.com/johnlanz/jquery-fileuploader-codeigniter/blob/master/application/views/upload_form.php#L48" rel="nofollow noopener" target="_blank" title="https://github.com/johnlanz/jquery-fileuploader-codeigniter/blob/master/application/views/upload_form.php#L48"&gt;https://github.com/johnlanz...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Fri, 12 Aug 2011 20:04:38 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-280446452</link><description>&lt;p&gt;This is now possible in version 1.3. Just add the input or textarea inside the form.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 08 Aug 2011 10:57:45 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-280445457</link><description>&lt;p&gt;Hi Buu,&lt;br&gt;The minimum number of files to be uploaded I think can be achieved using beforeUpload Callback&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 08 Aug 2011 10:56:28 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-280443872</link><description>&lt;p&gt;The progress Bar has now been changed to jquery ui progressBar. Download the latest version for details.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 08 Aug 2011 10:53:44 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-280437459</link><description>&lt;p&gt;This is now possible in version 1.3&lt;br&gt;Just add your input inside the form and it will automatically send your hidden file.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 08 Aug 2011 10:41:40 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-275839363</link><description>&lt;p&gt;Try Cakephp Media Plugin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Wed, 03 Aug 2011 00:46:52 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-275838718</link><description>&lt;p&gt;Why would you need to do that?&lt;br&gt;It means that you are required to upload number of files, from your example the user is required to upload at least 5 files or else the upload is disabled. Is that what you want?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Wed, 03 Aug 2011 00:44:47 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-273389317</link><description>&lt;p&gt;This is possible in version 1.2&lt;br&gt;Just initialize again the script: &lt;br&gt;$('input2').fileUploader();&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 01 Aug 2011 22:07:44 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-273387870</link><description>&lt;p&gt;Callbacks has been changed in version 1.3. See documentation for details.&lt;br&gt;For success or failure you can use callback:&lt;br&gt;afterEachUpload: function(data, status, formContainer)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Mon, 01 Aug 2011 22:06:02 -0000</pubDate></item><item><title>Re: Ajax File Upload using jQuery and CakePHP Media Plugin</title><link>http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/#comment-160103701</link><description>&lt;p&gt;For the other params to work you need to add or set it on the controller. Something like passing data from $this-&amp;gt;data.&lt;/p&gt;&lt;p&gt;If you want to test it you need to disable javascript first and enable buttons, for you to make sure that the upload controller works fine. So the add.php from gallery view folder should look like this. &lt;a href="http://pastebin.com/00LQYAM4" rel="nofollow noopener" target="_blank" title="http://pastebin.com/00LQYAM4"&gt;http://pastebin.com/00LQYAM4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Set Configure::write('debug', 2); if you work with pr($this-&amp;gt;data);&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Thu, 03 Mar 2011 19:22:34 -0000</pubDate></item><item><title>Re: Ajax File Upload using jQuery and CakePHP Media Plugin</title><link>http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/#comment-159807933</link><description>&lt;p&gt;You can add mime type into the model validation (from my example it's on Gallery.php model). &lt;br&gt;It's optional so you can disable it. You can delete var $validate if you like since there's already a validation on the client side.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Thu, 03 Mar 2011 09:24:17 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-149442574</link><description>&lt;p&gt;Single or double quote success message works fine on safari 5.03 (also safari 4.0.5 from Develop menu user agent).&lt;/p&gt;&lt;p&gt;Try to do a test to know if the message outputs correctly like comment or delete the plugin initialization or disable javascript.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Wed, 16 Feb 2011 19:42:21 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-148186901</link><description>&lt;p&gt;Yes of course. It works on any backend that process form uploads. You just need to output the following from your backend script:&lt;br&gt;&lt;br&gt;if (file upload is successful)&lt;br&gt;{&lt;br&gt;echo '&amp;lt;div id="output"&amp;gt;success&amp;lt;/div&amp;gt;';&lt;br&gt;//output your message (optional)&lt;br&gt;echo '&amp;lt;div id="message"&amp;gt;Your file success message&amp;lt;/div&amp;gt;'&lt;br&gt;}else&lt;br&gt;{&lt;br&gt;echo '&amp;lt;div id="output"&amp;gt;failed&amp;lt;/div&amp;gt;';&lt;br&gt;echo '&amp;lt;div id="message"&amp;gt;File Upload error message&amp;lt;/div&amp;gt;'&lt;br&gt;}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Tue, 15 Feb 2011 23:46:50 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-141540048</link><description>&lt;p&gt;Please try to upload the file without using the plugin or javascript.&lt;br&gt;Then test if you uploaded the files successfully. Then after that enable the plugin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 06 Feb 2011 06:26:13 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-141539694</link><description>&lt;p&gt;See my tutorial on about cakephp media plugin&lt;br&gt;&lt;a href="http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/" rel="nofollow noopener" target="_blank" title="http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/"&gt;http://pixelcone.com/tutori...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 06 Feb 2011 06:23:06 -0000</pubDate></item><item><title>Re: AJAX File Upload Script Using jQuery</title><link>http://pixelcone.com/jquery/ajax-file-upload-script/#comment-141538609</link><description>&lt;p&gt;It works fine for me on IE 7 and IE 8.&lt;br&gt;Maybe you need to place the script initialization on the higher tag. Inside the body which is the parent tag is better. Do not execute the script on child tags.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Laniba</dc:creator><pubDate>Sun, 06 Feb 2011 06:14:11 -0000</pubDate></item></channel></rss>