Posted on Oct 18th, 2011 in
Php Tutorials |
0 comments
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...
Posted on Oct 17th, 2011 in
Php Tutorials |
1 comment
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...
Posted on Aug 16th, 2011 in
Php Tutorials |
0 comments
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...
Posted on Aug 15th, 2011 in
Php Tutorials |
0 comments
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...
Posted on Aug 1st, 2011 in
Php Tutorials |
0 comments
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...
Posted on Jun 9th, 2011 in
Php Tutorials |
0 comments
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...
Posted on Jun 6th, 2011 in
Php Tutorials |
0 comments
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...
Posted on May 24th, 2011 in
Php Tutorials |
0 comments
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...
Posted on May 18th, 2011 in
Php Tutorials |
0 comments
In this tutorial, we will be building a jQuery and PHP powered photobooth. It will allow your website visitors to take a snapshot with their web camera and upload it from a neat CSS3 interface.
As you might know, it is not possible to access web cameras and other peripheral devices directly from JavaScript (and it won’t be for some time). However there is a solution to our problem – we can use a flash ...
Posted on May 11th, 2011 in
Php Tutorials |
0 comments
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 ...
Posted on Apr 9th, 2011 in
Php Tutorials |
0 comments
In this tutorial, I will show you how simple it is to generate a random password. First off, I would like to clarify that this method is not limited to just the generation of random passwords, but it can also be used to generate a random string for other purposes.
To keep things simple, we are going to create a function that allows you to generate your random password without cluttering your existing code with...
Posted on Oct 15th, 2010 in
Php Tutorials |
2 comments
Ok, so now you have “learned” …. wait should that be a single quote …. PHP and you are ready to really be able to start using it for something more than you can do with HTML. I will get into the use of single quotes vs double quotes, short tags, inline if statements, a few other little tips and tricks.
Single Quotes vs Double Quotes
You may ore may not have even thought about this up to this point in ...