Vladimir Putin “We discussed this important issue yesterday over a beer...”

Barack OBAMA “You know, my faith is one that admits some doubt...”




Archive for the Category ‘PHP Tutorials’

Uploading files with PHP – PHP Tutorial

Uploading files with PHP – PHP Tutorial

Continuing on from our article on Listing files stored within a directory using PHP, this quick guide will walk you through how to upload a file to a server using PHP.
Firstly, we assemble the form to upload a file within our html page, starting with the form tags. In the action attribute, we call the [...]

Share

Listing files stored within a directory using PHP – PHP Tutorials

Listing files stored within a directory using PHP – PHP Tutorials

Being able to create lists out of files within a directory quickly and easily is a really good skill to have, especially when creating Content Management and web based File Management Systems.
This method is a really simple version, and can be expanded in a number of ways.
Firstly we create a function to return the formatted [...]

Share

Encrypting passwords using PHP – PHP Tutorials

Encrypting passwords using PHP – PHP Tutorials

When creating a membership based site security is paramount – especially if you’re dealing with personal information. When it comes to passwords you’ll want to encrypt them wherever they are stored so they can’t be stolen. Here are a few things you can do to make your passwords as safe as possible.
It doesn’t matter where [...]

Share

PHP Thumbnail Generation Script – PHP Tutorials

PHP Thumbnail Generation Script – PHP Tutorials

This tutorial focuses on a thumbnail generation script. Rather than generating a smaller representation of the image, it cuts out a section of the photograph to create an obscure snapshot of the photo itself. The thumbnail’s size is variable also, so the script be used across different sites to create different sized thumbnails where needed.
First [...]

Share

Random Password Generation – PHP Tutorials

Random Password Generation – PHP Tutorials

A common feature found on many websites upon user registration are random passwords. This tutorial will walk you through a script that generates a random password to a given length.
For this script we will be creating a PHP function to generate the code. I will not discuss functions in great detail here and so I [...]

Share
Advertisement
WordPress