Using Ajax to post form data has been made really simple with jQuery’s Ajax methods. Here I’ll show you how to post data to a controller using the jQuery javascript library and the Codeigniter PHP framework In this example I am just going to show you how to post data to a controller. The data […]
Continue reading...19 February 2011
Sending emails and attaching files along with them are super easy! Just create a file called email.php in the config folder of your application. This file will contain the details of your Gmail SMTP server. [php] $config[‘protocol’] = ‘smtp’; $config[‘smtp_host’] = ‘ssl://smtp.gmail.com’; $config[‘smtp_port’] = ‘465’; $config[‘smtp_user’] = ‘youremail@gmail.com’; $config[‘smtp_pass’] = ‘password’; $config[‘charset’] = ‘utf-8’; $config[‘newline’] […]
Continue reading...
23 March 2011
2 Comments