Yearly Archives: 2011

Sort and order php mysql

Posted By: Ian on Dec 19, 2011 in Blog, PHP
Last modified on November 20th, 2013 at 10:27 am,

During the building of Banner Bar version 2 i needed sort and direction to be carried forward to each page and this is what i came up with. So for anyone looking hope it helps. I have included a full working demo and download link below anyone wanting the mysql table just contact me. Using …

Continue Reading »

Pretest Script for testing MySql and PHP Versions and Status of components before install

Posted By: Ian on Dec 17, 2011 in Blog, PHP, Snippets
Last modified on November 6th, 2013 at 8:36 pm,

During the remake of the installation script for bannerbar i had to come up with a pre-test script and with a bit of searching i put together the below which may be helpful for you too.

Continue Reading »


Posted By: Ian on Nov 22, 2011 in Blog
Last modified on November 20th, 2013 at 10:27 am,

When i built the installer for Banner Bar i believed register_globals was off but i was mistaken my host enables it by default. So when i was testing the installer and it worked fine for me anyone with register_globals off never got past the first page. But today after realising this i have done two …

Continue Reading »

Google Navigation Bar Bug

Posted By: Ian on Jun 29, 2011 in Google
Last modified on January 24th, 2013 at 1:36 pm,

Don’t panic is the first thing i thought when my Google navigation bar suddenly was black i mean i only went to get a drink! But it turns out it’s actually supposed to be that way i mean were so used to Google looking the same when something like that happens the first thing we …

Continue Reading »

Page Creation and Modified Date

Posted By: Ian on Jun 24, 2011 in PHP, Snippets

Recently i was asked to create a script for someone to show the Page Creation and Modified Date of web pages and being as this was for a Linux server where there’s no function for the creation date that I’m aware of like this is for the modified date i had to create a little …

Continue Reading »

Get file size

Posted By: Ian on Jun 19, 2011 in PHP, Snippets
Last modified on November 20th, 2013 at 10:28 am,

<?php $file = ‘demo.jpeg’; echo filesize($file); ?> This function is for use on local files only and will not work on remote files but what you can do is download the file to a temporary folder and then get the size that way. Also note that file results are returned in bytes so would look …

Continue Reading »

Free Banner Bar Rotator!

Posted By: Ian on Jun 04, 2011 in PHP, Tools
Last modified on December 17th, 2013 at 2:52 pm,

Banner Bar 125 Version 3.2 This 125 Banner bar uses PHP and MySQL. Display your banner ads at the bottom of your page and features include:- Choose how many Banners to display at once, Banner Bar uses 1 MySQL Database and can be used on PHP or HTML pages. Comes with Automatic installer (Not since …

Continue Reading »

Olympics logo

Posted By: Ian on May 15, 2011 in Olympics
Last modified on November 11th, 2011 at 3:31 pm,
Continue Reading »

Image Preloader

Posted By: Ian on Mar 13, 2011 in CSS, Snippets

This is the image preloader as used in 4x Random Image Viewer. Preloading images is ideal for lots of reasons like image viewers, slide shows, image roll overs and more. Some preloaders use javascript some load there images to the far left in this we just hide them. CSS Place this in your CSS file …

Continue Reading »

Accessible Contact Form in PHP

Posted By: Ian on Mar 10, 2011 in PHP, Snippets
Last modified on February 26th, 2014 at 8:44 pm,

Designed with accessibility in mind this contact form script features JavaScript with PHP validation if the client has JavaScript disabled and can only be submitted once per session to avoid people spamming. This simple 1 page script just requires you too change your email address and your done! Works well with screen readers and is …

Continue Reading »

About This Site

Dreams are built from lines of code well it's true!
If you can dream it you can usually code it.

I have learned so much from other people on the Internet and this site is for me to give back some of what i have learned and hope people can now learn from me.
Have fun and surf safely,

protected by copyscape duplicate content check


Powered by Banner Bar 125