Tutorials
Pagination with PHP, jQuery and MySQL.
So many emails hit my inbox with readers asking me how to implement pagination with php. So i decided to put one together using Jquery, php and Mysql. It looks difficult, but its rather simple....
Useful PHP Snippets
As a PHP developer i’m always in the search for little snippets to add to my library. This at times so often proves useful when coding big projects and quick little functions. Snippets as such are great to add to existing CMS systems, such as WordPress, drupal or Joomla. Calculate distances in PHP I used this on an accommodation website not to long ago. this snippet allows you to measure the distance from one point to another. Great combo with Google maps too! function distance($lat1, $lon1, $lat2, $lon2, $unit) { $theta = $lon1 - $lon2; $dist = sin(deg2rad($lat1)) * sin(deg2rad($lat2))...
Bad Website Ideas – What Makes a Bad Website
If you consider yourself to be a creative individual, or you simply want to express your passion for a certain subject, then creating a website could be for you. Many new websites enter the internet every day, and that is hardly likely to change anytime soon. Unfortunately, many of these places have a poor concept of just how their domain should be designed, and this hurts their popularity and visitor count. If you don’t want to meet the same fate, there are certain things you can do in order to make your website attractive and easy to navigate. What can...
Captcha For Joomla 1.5.x and integration with Sobi2
OK so we finally managed to crack this bad boy for Joomla 1.5.9 . This script allows users to add a Captcha form to there Sobi2 contact page, helping the prevention of spam.  Snake was kind enough to modify and donate this script to us. This Captcha script can be used for any component in Joomla 1.5.x. If you need help setting it up please use our forum and we will assist with the setup and integration into your components. But this should be easy to setup. This specific demo will show you how to set it up using joomla...
Posting twitter posts with Curl using PHP, Sobi2 and Joomla
Being experimenting with the API of Twitter. I started out playing with curl to send updates from a joomla directory, once a user added a listing. The concept was to have followers follow the updates live via twitter. Tools used: Joomla , Sobi2 and some basic PHP. Firstly make sure your server supports curl and that the extension is active. A simple install to linux would look something like this. sudo apt-get install curl libcurl3 libcurl3-dev php5-curl Now you have PHP cURL installed, the next thing you need to do is to restart apache2, run the following command in your...
Amazing Photoshop Light Effects
With a quick stumble i came across these Amazing Photoshop Light Effects. Being such a big fan of photoshop, i decided to blog review it quick. These tutorials can be viewed at designerside. They feature top lighting methods that can be reproduced in your everyday web designing techniques....
How to Run Dreamweaver CS3 on Linux using Wine
This is for those Linux lovers and website developers!, This tutorial that i stumbled on will show you how you can run Dreamweaver CS3 on Linux using Wine. I would imagen that this will apply for all the CS3 packages. I’m using Ubuntu 8.04 Edgy Eft for this, so change these commands to match up whatever your distro uses to accomplish the same thing. Please also make sure that your Dreamweaver has been installed in your Windows partition. you need this before you can run Dreamweaver in your Linux. All right, lets get cracking on this!...
How to implement a Captcha system to your website
Today we look at very simple feature to which is a very important one. A Captcha Security device, to help prevent that unwanted spam. This script generates images (known as “Captcha’s”) which contain security codes used for protecting a form from spam bots. By encoding a ‘password’ inside an image and asking the user to re-enter what they see you can verify the user is a human and not automated software submitting your form....
Make fancy buttons using CSS sliding doors technique
This article will show you how to create fancy buttons using CSS sliding doors technique. It is much better to use this technique than to use image buttons because you can apply the style to any link and at the same time you don’t have to create an image for each button. The ultimate Css for your website. website ideas with great inspiration What is sliding doors technique? The technique is very simple. If we want to have a dynamic-width button, we have to find a way to stretch it horizontally. We will accomplish this if we create two background...
Adobe Photoshop Tutorials – Part 2 of 5
Create shape and duplicate First you create a triangular shape. You can select a triangle from the Custom Shape palette and flip it upside down (Edit > Transform > Flip Vertically). Duplicate this shape layer using command/control + J. Now hit command/control + T (Edit > Free Transform) to rotate this shape. First move the middle point down to towards the center....
CSS tricks and tips
I have compiled a list of articles that better explain valid CSS and xHTML code. It’s becoming more commonly to use valid CSS. And we all know how much time we are spending in all those hacks and fixes for various browsers. I will keep adding to this list, so stay tuned....
Adobe Photoshop Tutorials – Part 1 of 5
In this 5 part series we will be covering different styles and technique’s that can be used in Adobe Photoshop. From light motion trails to glowing sparks. Here you will learn to create beams, glows, motion trails, rainbows, and other lighting effects, giving your images ambiance and depth....
1