Digital World Freelancer

The Digital World Freelancer group is applying latest Technologies Like HTML, CSS, CSS3, JavaScript, JQuery, PHP and more...... for website designing & developing... reach at our organization http://www.digitalworldfreelancer.com

Facebook Page

Monday, November 2, 2015

How To Create and edit Sub menu in Blogger Templates ( Blog )


How To Remove index.php from Codeigniter Form or contact-us form in email when you click send for action generate

Step:1 :-   Go to application/config/config.php
Step:2:-   Now change
               
               $config['index_page'] = "index.php";

                             into
             
                $config['index_page'] = "";


Step:3:- now go your contact page and refresh it and fill form detail and click on send now you will get url like this---

http://www.yoururl.com/send-email

Note: send-email is in my form_open("send-email", $data);

Transferring your codeIgniter project from local server to live server through Filezilla? know here

If you are new to CodeIgniter MVC framework & want to go live with the project build with CI framework then this guide is for you.

Step1: If you developed database driven website on your local server then you have to create the database for your live site also. You can create the MySQL database from your web hosting control panel.

Step2:  Connect to your website ftp server with any reliable ftp client software (like filezilla) & transfer all project files from local server to live server.

Step3: Open the database configuration file located at “/config/database.php” inside your codeigniter project & change the database access code with your online website database information:

$db[‘default’][‘hostname’] = “localhost“;

$db[‘default’][‘username’] = “root“;

$db[‘default’][‘password’] = “123456“;

$db[‘default’][‘database’] = ” your_project_db“;

Step4: Open the configuration file located at ”/config/config.php” inside your codeigniter project & change the base_url with live URL:

$config[‘base_url’]     = “http://localhost/yourprojectdir/“;

This should be like this:

$config[‘base_url’]     = “http://www.yourdomain.com“;

Step5: It’s done. Now check all page links & functionality of your website from http://www.yourdomain.com

*** Note: If are facing 404 errors then check the following:

If you use .htaccess file for your project then check it again to make sure URL rewriting code is correct for your live server & your server has mod_rewrite enable.
Remove all hard code URL link from view, controller files if any & always Use base_url() instead of hard code URL link to project.