Category Archives: Coding
Simple PHP Page Protector
A couple of years ago I posted a way to protect a PHP page from access on the internet in an easy way. I’ve spent around 15 minutes producing what I feel is a better version of the same script … Continue reading
Copy to clipboard using javascript
In a current project i am working on, I need to be able to copy some posted content to my clipboard. Well I looked for a solution so I thought I’d show you…. <span id="texttobecopied" STYLE="height:150;width:162;background-color:pink"> This text will be … Continue reading
Try and Catch (…me if you can)
PHP is a great language for creating dynamic websites and has a lot of functions to do just about everything on the server side. Only, with all those functions you need a good error handler. The other languages like perl, … Continue reading
Youtube Without The Video
Hello there, It has been a while since I posted something new on my blog, I’ve just been to busy lately. Today I am going to show you how to put a Youtube video on your website but in a … Continue reading
MySQL – Connecting, Selecting…. and more.
Today I am going to show you various things that you can do with MySQL using PHP. I am going to assume you have fairly good knowledge of PHP while following these instructions. Connecting to MySQL Connecting to MySQL is … Continue reading
Sanitizing $_POST and $_GET
Hey, Well I haven’t posted something PHP related for quite a few days now so I thought I’d show you something I use in every single script that I write that involves form submissions or URL data. It is important … Continue reading
FORTRAN and Other Programming Languages from the 50’s
FORTRAN-FORmula TRANslating system was invented in the year 1957. The language was very easy to use as it contained limited commands like GOTO, IF and DO. FORTRAN paved the way for today’s languages as it contained basic data types like … Continue reading
The Beginning of PHP
PHP – Hypertext preprocessor is basically a computer coding language. The language was designed by Rasmus Lerdorf and was developed by the PHP group. PHP was created in 1994 by Rasmus Lerdorf to help maintain his personal homepage. He had … Continue reading
PHP – The Basics – Tags, echo and if/else
One of the most basic things when writing code in PHP is to use the PHP tags which signify the beginning and the ending of the PHP code. You must have the tags in order for PHP to process the … Continue reading
Data Types in PHP
PHP is not a very strict language when it comes down to data types. Strings: $string = "This is a string"; Strings are values that contain characters. This can include basically everything you can type on your keyboard. Integers: $string … Continue reading