Ryantetek - ryantetek.com
General Information:
Latest News:
AVG 2013 Update Bug Solution 23 Apr 2013 | 07:52 am
After upgrading into AVG 2013, it seems that I cannot download anything on the browser anymore. I mean everything, I cannot download pictures, videos, mp3s, files, etc. In Google Chrome when I downloa...
How to detect and identify carriage returns in a textarea in PHP 24 Jun 2012 | 04:40 pm
You can detect carriage returns or newlines in a textarea upon form submission by using the PHP_EOL constant. You can also use the nl2br() function but that function replaces the carriage returns with...
Importing large SQL files through command line when using PHPMyAdmin/XAMPP 1 Sep 2011 | 04:27 pm
This tutorial is on how to import large SQL files when your sql dump file cannot be handled by PHPMyAdmin due to its large file size. Importing large SQL file sizes in PHPMyAdmin will produce an error...
Date picker HTML select boxes with automatic date selection PHP snippet 9 Aug 2011 | 10:45 pm
This PHP snippet creates a HTML datepicker and automatically selects the current date in the select boxes. <?php $current_month = date("m"); $current_day = date("d"); $current_year = date("Y"); ?> <...
How to display PHP errors without altering php.ini file 13 Jul 2011 | 02:46 pm
This quicktip will teach you on how display PHP errors on your website without altering your php.ini file and by just writing 2 lines of PHP code and including it in your config file or just including...
IP address restrictions to protect directories using .htaccess 23 Jun 2011 | 07:47 pm
This is a simple quick tool to protect any given directory of your choice by limiting the users viewing and accessing the folder by specifying the IP addresses that can only access it in .htaccess 1. ...
How to format MySQL Date and Time fields into user readable format 15 Apr 2011 | 04:06 pm
Date and time fields or what we call timestamps stored in our Mysql databases has a format of “YYYY-MM-DD HH:MM:SS” or “2011-04-15 11:30:00″ . It is awkward for the users to to see dates outputted to ...