Web Design Tutorials: Photoshop, HTML, Flash, PHP

PHP Tutorials – Encrypt your Email Address using Shortcodes in WordPress

So, lets assume you want to paste your email all over your website, but you dont want those nasty crawlers getting a hold of it (you get enough spam already right?) A solution I have used for many of my sites over the years is to obfusticate the email address so that web crawlers cannot read it directly from the source. The below HTML represents what the output looks like, and as you can see, no visible email...

PHP Tutorials – How to use a Fan Gate on your Iframe Tab to Hide Content until Someone ‘Likes’ Your Facebook Fan Page

With how rapidly Facebook changes the way things look and operate, we have been doing the same when designing for Facebook. The February tutorial explains how to use a Fan Gate to reveal specific content only to those who ‘Like’ your FBML page. Since FBML has basically become extinct and will soon be phased out completely the new current method for creating Custom Fan Pages is the Iframe method. Creating a Fan...

PHP Tutorial – How to Create a Custom Facebook IFrame Tab

Now that no new FBML Facebook tabs are able to be created, Facebook users must now use the IFrame method in order to add custom tabs to their Facebook Fan Page. IFrame tabs are definitely a bit more complicated to create compared to FBML tabs, mainly due to the fact that you must set up a Facebook Application (CLICK HERE to see our tutorial on how to set up a Facebook Application for your Custom IFrame Tab). Even...

PHP Tutorial – Banner Rotator

In this tutorial we’ll be creating a php banner rotator. What this basicly will be is a script that uses banners stored inside of a database table and shows a random one and this way creates a rotation of banners on one webpage. Also we’ll keep log of the amount of views a banner has received and we’ll set a max amount of views for each banner. Creating the database We’ll start with creating...

PHP Tutorial – Guestbook

This is a beginner tutorial, but it is assumed that you already know some HTML and CSS. The tutorial will, kind of describe and explain my workflow in creating a guest book application. I will also explain the important segments of the code. Finished project can be downloaded from the link given at the end. If you”ve got a suggestion or a question, post a comment. Furthermore, I am sure this application needs...

PHP Tutorial – Using mod_rewrite to symfony backend

So, I am building a web application with symfony framework and I wanted to redirect traffic from /admin/ to my backend.php application. It was unbelievably simple yet I was unable to find very much help at the Symfony project forums. I did get a few ideas from some pages regarding editing the routing.yml file but they were primarily about editing the routing.yml in the frontend application. Anyways, let me get...

PHP Tutorial – Currency Format

If you program with PHP, you’ll often need to format numbers to represent currency. This PHP tutorial will show you how to format money using PHP in the locale’s international currency format. In this tutorial we use the money_format function which is part of the STL in PHP. This function wraps the C library function strfmon() and is only available on Unix/Linux systems. Windows users should use...

PHP Tutorial – Classes and OOP

Object orientated programming (OOP) is a commonly used term when discussing modern programming techniques. One of the things that makes humans stand out is the ability to categorise – we put objects into categories of similar type of function. For example, we have the category vechicle. Within this category, you have the different types of vehicle – car, bug, train, van. In the same bag, a llama is...

PHP Tutorial – Create an Advanced PHP Membership System.

Introduction. In this tutorial I will be showing you how to create an advanced PHP/MySQL membership system for you’re website.  We are going to create the simple forms, and create the back end to allow users to login, register, and logout of you’re website. This “Advanced” membership system is actually quite simple, what makes it advanced is the object oriented user that will allow for a very ...

Powered by WordPress | Designed by Elegant Themes