54.1 F
Los Angeles
Monday, February 26, 2024

Trump Lawyer Resigns One Day Before Trial To Begin

Joseph Tacopina has filed with the courts that he will not represent Donald J. Trump. The E. Jean Carroll civil case is schedule to begin Tuesday January 16,...

Judge Lewis A. Kaplan Issues Order RE Postponement

On May 9, 2023, a jury found Donald J. Trump liable for sexual assault and defamation. The jury awarded Ms. Carroll $5 million in damages. Seven months ago,...

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™...
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 127.0.0.1 – 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.

CodeIgniter

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

Latest news

Related news