Related Articles
How to Run a Shell Script as Automatic Start Up Service in Linux Centos
Follow below steps to Create start services at startup automatically in Linux. Run a Shell Script as Automatic Start Up Service 1. Create a Shell Script Serivce named myserviced(anyname is ok) in /etc/init.d dir 2. Add it to chkconfig sudo /sbin/chkconfig –add myserviced 3. To check whether the serivce is sucessfully added in chkconfig sudo […]
Firefox Excel Application Issue
If you are not able to download the excel in Firefox and where it is working fine in Chrome and IE then have a look at below code. To work in Firefox Excel Issue Just add below code in headersheader(“Content-type: application/vnd.ms-excel”); See below for full code header(“Content-disposition: attachment;filename=example.xls”);header(“Content-type: application/vnd.ms-excel”);header(“Pragma: public”);header(“Expires: 0”);header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”);header(“Cache-Control: private”, […]
Email Verification Confirmation Using PHP Codeigniter
Below is a simple program which shows email verification confirmation using a unique code, implemented in PHP,Mysql, Codeigniter. PHP Codeigniter Email Verification Step 1 :Create a table as shown below with email_verification_code as necessary column: [mysql] CREATE TABLE `users` ( `user_id` int(10) NOT NULL auto_increment, `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `email_verification_code` varchar(45) […]