Skip to content

Avenir

A blog about web

  • Laravel tutorials
    • Laravel 9 – How to use same form for create and update data
  • CodeIgniter Tutorials
    • CodeIgniter 4
    • Learn CodeIgniter 3 in small steps
      • Step 1: First contact – What is MVC and what is CodeIgniter
      • Step 1.1: Again about MVC and CodeIgniter – The controllers
      • Step 1.2: Again about MVC and CodeIgniter – The views
      • Step 1.3: Again about MVC and CodeIgniter – The models
      • Step 2: Set up the environments
      • Step 3: Set up the database that will be used by CodeIgniter
      • Step 4 – Removing the index.php from the URL and allow the use of “search-engine friendly” URLs
      • Step 5 – Final settings. Finishing the configuration of your CodeIgniter
      • Step 6 – Verify CodeIgniter configuration. Is everything OK?
      • Step 7 – Using CodeIgniter and Composer – with a real world example
      • Step 8 (optional) – Using sessions with database in CodeIgniter
      • Step 9 – No more MY_Controller monopoly. How you can create more than one base controller
      • Step 10 – Make your first library: a breadcrumb generator
      • Step 11 – Creating and working with the famous MY_Controller
      • Step 12 – Creating and using page templates in CodeIgniter
      • Step 13 – Uploading multiple files (images) in CodeIgniter
      • Step 14 – Crop and resize uploaded images in CodeIgniter
      • Step …n…: Moving application and system folder to safety
    • Create a CMS using CodeIgniter 3
      • Step 1 – Create an admin area in CodeIgniter 3
      • Step 2 – Create a template for admin area
      • Step 3 – Securing the admin area with Ion Auth library – first, the settings
      • Step 3.1 – Creating the login and logout page with Ion Auth
      • Step 3.2 – Administer groups with Ion Auth
      • Step 3.3 – Administer users with Ion Auth
      • Step 3.4 – Creating the profile page with Ion Auth
      • Step 4 – Create a multilanguage site with CodeIgniter
      • Step 4.1 – Create the admin area for a multilanguage site in CodeIgniter
      • Step 4.2 – Set up the language for a multilanguage site in CodeIgniter
      • Step 4.3 – Use “personalized” controllers and methods for a multilanguage site in CodeIgniter
      • Step 4.4 – Returning to our MY_Controller. Doing everything that needs to be done for better working with languages
      • Step 5 – Administer static pages for our multilanguage CMS – creating the pages
      • Step 5.1 – Administer static pages for our multilanguage CMS – listing the created pages
      • Step 5.2 – Administer static pages for our multilanguage CMS – editing the pages
      • Step 5.3 – Administer static pages for our multilanguage CMS – deleting the pages
      • Step 6 – Creating categories for a multilanguage site in CodeIgniter
      • Step 7 – Using the language files for a multi-language site in CodeIgniter
      • Step 8 – Putting it all together. How do visitors access our pages
    • Authentication system with Ion Auth and CI3
      • Let’s install Ion Auth library
      • Register users using Ion Auth in CodeIgniter 3
      • Login using Ion Auth and AJAX in CodeIgniter
      • Alter the way Ion Auth works by using hooks. Get a gravatar after the user logs in
      • Login (and register) with Facebook and Ion Auth
  • Fat-Free Framework Tutorials
    • 1. Installing Fat Free Framework
    • 2. Moving logic to controllers
    • 3. Creating a configuration file
    • 4. Moving the Routes in a file
    • 5. Returning to routes and how to work with them
    • 6. Organising controllers in subfolders, routes and namespacing
    • 7. Enter the Views. How to separate logic from presentation in F3
    • 8. Using the templating engine of the framework

Meet “The Rat”, my CodeIgniter logger library

  • Codeigniter
June 29, 2015June 29, 2015 avenirer 5 comments

Well… it’s been a while since I’ve written on my blog, but at least I came with a new library. This time is about reporting […]

Continue reading

How to handle security in POST or GET using CodeIgniter

  • Codeigniter
June 4, 2015 avenirer 7 comments

Well… it’s a huge subject, and I don’t know if I’m the person to ask to regarding this subject, but a reader asked me to […]

Continue reading

The state of my MY_Model. Inserting data directly from forms with from_form() method

  • Codeigniter
June 2, 2015June 2, 2015 avenirer No comments

Well… it’s a mess, but it works good for now. And I think it’s evolving, one sign of this being the fact that 20 people […]

Continue reading

Say hello to my new library: Postal

  • Codeigniter
May 28, 2015 avenirer 5 comments

I did it again. It’s a new library called Postal (don’t tell me how I came up with this title…). It’s a library that will […]

Continue reading

DATETIME validation in CodeIgniter or how to create your own validation rules with callbacks and/or extending the form validation library

  • Codeigniter
May 18, 2015May 18, 2015 avenirer 2 comments

I found myself wanting to validate an input field that will be used when inserting the POST values in a table. That input field would […]

Continue reading

Revisiting the multilevel menu in PHP with some additional code (as in… Bootstrap CSS)

  • PHP
May 7, 2015May 23, 2016 avenirer 7 comments

(created at: May 07, 2014; last update: December 15, 2015) It’s been almost a year since I’ve posted a tutorial (Multi-level menu in PHP – […]

Continue reading

Integrating Google’s reCaptcha in CodeIgniter’s form validation – the callback way

  • Codeigniter
April 22, 2015April 22, 2015 avenirer 17 comments

Well, it’s that time when someone is bombarding you with spam or, who knows, is trying to look for vulnerabilities by filling your site’s form […]

Continue reading

Meet MY_Model (again) for CodeIgniter

  • Codeigniter
February 20, 2015 avenirer 8 comments

Revisiting MY_Model in CodeIgniter: Copying from Jamie Rumbelow and looking at Eloquent and Establishing relationships between tables inside the MY_Model in CodeIgniter (1): has_one and […]

Continue reading

Establishing relationships between tables inside the MY_Model in CodeIgniter (1): has_one and has_many relations

  • Codeigniter
February 18, 2015March 2, 2015 avenirer 16 comments

This tutorial turned into a Github repository.Please give it a try at:https://github.com/avenirer/CodeIgniter-MY_Model Well… the previous tutorial (Revisiting MY_Model in CodeIgniter: Copying from Jamie Rumbelow and […]

Continue reading

Revisiting MY_Model in CodeIgniter: Copying from Jamie Rumbelow and looking at Eloquent

  • Codeigniter
February 11, 2015March 2, 2015 avenirer 10 comments

This tutorial turned into a Github repository.Please give it a try at:https://github.com/avenirer/CodeIgniter-MY_Model This tutorial is a work in progress created at 2015.02.11 and updated at […]

Continue reading

Posts pagination

«Previous Posts 1 2 3 4 5 6 7 Next Posts»
  • English
  • Română

Categories

  • Arduino
  • Codeigniter
  • CodeIgniter 4
  • Copy/Paste
  • Good to know
  • Javascript
  • Laravel
  • PHP
  • SEO
  • Uncategorized
  • WordPress

Did you think of buying me some coffee for these GREAT TUTORIALS?

You can also buy me a gift on Amazon

My Github repos

  • CodeIgniter MY_Model
  • Basic CI app with Ion Auth and Bootstrap
  • CodeIgniter multilanguage site
  • CodeIgniter MY_Upload Library
  • CodeIgniter Image_nation Library
  • CodeIgniter Breadcrumb Library
  • CodeIgniter Configuration Verifier
  • Assetor
  • CodeIgniter Matches CLI
  • AValidator

Blogroll

  • CV-ul meu

Search

Tags

.htaccess array arrays captcha cli codeigniter composer cookbook database Eloquent form validation image image manipulation Jamie Rumbelow laravel library matches menu model event models multi-level multiple files my_model my_upload objects php recaptcha recursive function rob foster route swift mailer swiftmailer upload url validation validation rules
WordPress Theme: Occasio by ThemeZee.