56.8 F
Los Angeles
Wednesday, November 29, 2023

ASUS Announces 2023 Vivobook Classic Series

On April 7, 2023, ASUS introduced five new models in the 2023 Vivobook Classic series of laptops. The top laptops in the series use the 13th Gen Intel® Core™...

Airman Arrested In Case of Leaked Classified Documents

Massachusetts Air National Guardsman Jack Teixeira has been arrested in the latest case of leaked classified documents. Teixeira, 21, is the head of Thug Shaker Central, an online gaming...

Microsoft OneNote to Gain Copilot

Microsoft 365 Copilot is coming to OneNote.
StaffPenguin Flight LogCodeIgniter Project Startup

CodeIgniter Project Startup

Are you ready to take your skills to the next level?

I’ve been slowly teaching myself PHP. Over the past few months, many people have been helping me see better ways to complete a task. It became increasingly clear last night that setting up an application is best done in a framework. Therefore, I installed CodeIgniter.

CodeIgniter is a free framework for developing PHP based applications.The framework provides the config files and libraries for SEO based paths as well as cookie sessions.

The mrforbes website has an excellent tutorial for setting up the basics. There are a few changes. First, there must be an encryption key set within the config.php file. Use a random key generator or your own. Second, setup cookie related variables so that there aren’t any conflicts.

In my installation, MAMP is not installed because I chose to manually install PHP and MySQL. Also, the database hosting is not localhost but – entering localhost in the config file will cause the app to fail to connect to the database. You can play around with vhosts or just drop the framework into a directory.

After installation, load up the directory in your browser and you should see the following welcome message. Congratulations. Now you may begin using your framework.


Best of luck and enjoy using CodeIgniter to take your skills to the next level.

Latest news

Related news