Blog Posts on web programming php codeigniter
Percent:
How to resize an image from database or file using php by czetsuya's tech on Mar 19, 2012This implementation is done using php.Usually we resize image that we read from a local file, then save it locally.Flow:1.) read from local image file and store in a php variable2.) resize the image file using php functionalities3.) save th...
How to pass and post back user defined variables in paypal ipn by czetsuya's tech on Feb 29, 2012With paypal api, payment operation such as buy, donate, subscribe has never been easier. For simple cases, you just need to define a button inside paypal and embed it in your website, usually on blog sites that ask for donation.For cases that require...
Read and update your mailbox using php by czetsuya's tech on Jan 26, 2012There are 2 ways I use 2 read email from my mailbox. Let the code explain:1.) Usually use for gmail./* connect to gmail */$hostname = '{imap.gmail.com:993/imap/ssl}INBOX';$username = 'xxx@gmail.com';$password = 'xxx';/* try to connect */$inbox = imap...
uploadify check script not working by czetsuya's tech on Nov 26, 2010To setup uploadify see the previous post:Uploadify SetupTo add a check script add the following config:$('#custom_file_upload').uploadify({...'checkScript' : "uploadifycheck.php",}Where uploadifycheck should contain the lines:...
How to make uploadify work on codeigniter by czetsuya's tech on Nov 23, 2010Recently, I have a requirement to implement a multiple file upload in one of my project. During upload I also need to pass a variable which will classified the category of the uploaded files. The category is a dropdown control.What we need:1.) codeig...
Send email using Codeigniter in 1and1 server by czetsuya's tech on Nov 12, 2010I get a timeout at first try. Using the default mail type from codeigniter will not, to use the built in email feature from codeigniter we have to change protocol into smtp:Like this:$config['mailtype'] = 'html';$config['protocol'] = 'smtp';$config['...
Integrate uploadify with codeigniter by czetsuya's tech on Nov 3, 2010Googling around I've found several solutions, but not to my liking some even suggest to edit the fla. Well there's no problem with that if you want to.The problem with the uploadify.swf is that if uploads the file relative to the .swf location.So I'v...
codeigniter file uploading class fails by czetsuya's tech on May 13, 2010Yes it does, and it throws this error "The filetype you are attempting to upload is not allowed." even though you have specified your file in the class's "allowed_types" property.Solution:1.) Overwrite the Upload class by creating a new My_Upload.php...
Flexigrid's on row click - How to implement rowClick action of flexigrid using codeigniter's library by czetsuya's tech on Mar 11, 2010The objective of this writing is to update the flexigrid library so that it can handle the rowClick event.To do this we need to download the latest version of flexigrid's library here:http://flexigrid.eyeviewdesign.com/, extract and setup accordingly...


