Avenir - avenir.ro - Avenir » Languages » English
General Information:
Latest News:
Codeigniter – Create a CAPTCHA with Sessions using the Codeigniter’s Captcha helper 16 Aug 2013 | 03:53 pm
Now and then there is the need to create a captcha spam protection to stop spiders from spamming your website’s forms. Codeigniter framework has a captcha helper that you can use if you already have G...
CodeIgniter: How to retrieve data from a database 18 Jun 2013 | 02:14 pm
What is a dynamic site without databases, right? Yesterday someone asked me to make a tutorial about retrieving data from a database using CodeIgniter. As a self-respecting framework, CodeIgniter is a...
CodeIgniter: How to export data to Excel file 10 Apr 2013 | 01:04 pm
I will assume that you know how to use CodeIgniter, know what controllers, models and views are and what they do. If you don’t know anything about these terms, maybe you really don’t need to find out ...
PDO Tutorial – 04: Running simple SELECT using PDO 1 Feb 2013 | 04:46 pm
There are more ways to retrieve data from a database using PDO. The shortest way, but in my opinion, the too long to remember every single thing in it is as follows: The longer way, but a better one i...
Confirm box in javascript: Are you sure you want to delete? 29 Jan 2013 | 06:29 pm
We’ve been there. To click by mistake a link or a button which deletes an information and not to be asked if I am sure I want to do it. And there goes my work… one second of not paying attention… So, ...
Prevent website directory listing with .htaccess 28 Jan 2013 | 01:13 am
What is directory listing? There are those embarassing moments in life when you feel naked when someone sees at you something they aren’t suppose to see. The same happens with a site, when someone get...
PDO Tutorial – 02: Connect to a database using PDO 28 Jan 2013 | 01:08 am
Once you agreed on the advantages of using PDO, and verified that you can use PDO on your server, is time to connect to the database. For your sake i hope that you are already having a database set up...
PDO Tutorial – 03: Insert data into a database with PDO 28 Jan 2013 | 12:58 am
After the connection to database is successfully created and the PDO object instance is set, the object can be used to perform SQL queries. There are two ways in which you can make SQL queries with PD...
WordPress: How to link an image into a theme 28 Jan 2013 | 12:52 am
The new themes in WordPress are so good that most of the time you don’t even need to know html or css to make a change. But now and then appears the need to change something important like changing th...
Make a permanent redirect 301 page – save your visitors (and search engines) from a headache 28 Jan 2013 | 12:49 am
There are times when is really necessary to change the way people get to your pages. If, for example, sometime in the past you wanted to bring people on a specific php page like, let’s say, ‘hello.php...