Archive of 2009 December

11Dec2009
Disable Directory Browsing Thumbnail

Disable Directory Browsing

A tutorial to disable directory browsing with an htaccess file. Note htaccess files only work on a Linux server

Read MoreLeave a Comment
10Dec2009
Author
Dave
Category
PHP
Tags
, , , ,
Edit data from a database Thumbnail

Edit data from a database

A tutorial to edit existing data from a MySQL database.

Read MoreLeave a Comment
09Dec2009
Author
Dave
Category
PHP
Tags
, , ,
Show all MySQL databases and tables Thumbnail

Show all MySQL databases and tables

Want to see what databases you have and what tables are inside each database but do not have access to phpmyadmin or similar program? Luckily mysql has some built in functions that enable you to see your databases and tables easily.

Read MoreLeave a Comment
08Dec2009
Author
Dave
Category
PHP
Tags
, , ,
Naming your sessions Thumbnail

Naming your sessions

In PHP when you create a session and give it a name always make the name unique and not the same name as any variables you have.

Read MoreLeave a Comment
07Dec2009
Author
Dave
Category
CSS
Tags
,
CSS for different versions of IE Thumbnail

CSS for different versions of IE

Some times your site looks different in IE 6 then it does in 7 or in Firefox. Most of the time you can combat this with better coding but there's times when that just not enough.

Read MoreLeave a Comment
06Dec2009
Registration script with Validation Thumbnail

Registration script with Validation

In this tutorial I will explain how to create a user registration script along with validation.

Read MoreLeave a Comment
05Dec2009
Author
Dave
Category
PHP
Tags
, , , , ,
Searching with PHP and MySQL beyond LIKE Thumbnail

Searching with PHP and MySQL beyond LIKE

Ever wanted to add a search feature to your php & MySQL driven web site? Then your in luck this tutorial shows you how!

Read MoreLeave a Comment
02Dec2009
Author
Dave
Category
PHP
Tags
, ,
Switch Statement Thumbnail

Switch Statement

From time to time you may need to find a value of a variable to perform an action you can do this with an if elseif else statement but its much more efficient to use a switch statement to do the same thing. Using a switch statement means less code and easier to read.

Read MoreLeave a Comment
02Dec2009
Author
Dave
Category
PHP
Tags
Magic Quotes Thumbnail

Magic Quotes

This tutorial will explain what magic quotes are and how to use them When Magic Quotes are enabled will automatically escape single and double quotation marks. This helps prevent problems in php/html.

Read MoreLeave a Comment
02Dec2009
Author
Dave
Category
PHP
Tags
,
PHP Redirect Thumbnail

PHP Redirect

Tutorial on PHP redirect to be redirected to another page or web site For this tutorial lets suppose you have moved your web site to another domain and want your visitors to be redirected to your new domain you can use PHP for this purpose.

Read MoreLeave a Comment