Store An Array

Posted by Pete | Posted in PHP Functions, PHP Tutorials | Posted on 11-10-2009-05-2008

1

In this tutorial we will learn how to encrypt an array with base64 and then serialize it so we are able to store it in a database without loosing the integrity or values.
Read the rest of this entry »

Advertise On PK-Tuts

Usersystem Part 2

Posted by Pete | Posted in PHP Tutorials | Posted on 04-10-2009-05-2008

0

Well the next part is available for use :) . This part of the usersystem is the next part to the part 1 which can be found here. In this part we will focus on creating a ranking system so we can distinguish who is an administrator and who is a member. We will also create a function so that updating a user’s details is simple. Once we have this function we will create a members list, profile page for each user, and allow the user to edit their profile and password. So lets get stuck in.
Read the rest of this entry »

If/Else/Else If Beginners Tutorial

Posted by Pete | Posted in PHP Beginners, PHP Tutorials | Posted on 03-10-2009-05-2008

0

After contact from some visitors starting to learn PHP. I am going to be writing a few tutorials on the basics of PHP. In this tutorial we will cover how to use the If Statements.
Read the rest of this entry »

Usersystem Part 1

Posted by Pete | Posted in PHP Tutorials | Posted on 28-09-2009-05-2008

1

Well after getting side tracked yet again I have written a user system for the users of PK-Tuts. In this part of the user system we will learn how to login and register will will also build some of the basic functions to check if you are logged in and logout. I will be expanding the user system in multiple parts so keep checking back.
Read the rest of this entry »

Advertise On PK-Tuts

Twitter Status Function

Posted by Pete | Posted in PHP Functions | Posted on 07-09-2009-05-2008

0

Over the past few days I have been messing around with the basic Twitter API which can be found at (http://apiwiki.twitter.com/Twitter-API-Documentation). So I have decided that to create a function on how to retrieve the latest status from any account.
Read the rest of this entry »

Force File Download

Posted by Pete | Posted in PHP Functions | Posted on 29-08-2009-05-2008

0

So you’ve got a file, but its not a .zip or .rar etc which automatically downloads through the browser, its a file such as .txt which opens up in the browser but you want it to be downloaded to the users computer automatically. Well this function will allow you to force the browser to accept it as a file to force download.
Read the rest of this entry »

Display Random Content

Posted by Pete | Posted in PHP Functions | Posted on 13-08-2009-05-2008

0

In this tutorial I will show you how to display random content. This is something similar as to what we use for our adverts on the top of our website. So lets get started.
Read the rest of this entry »

Advertise On PK-Tuts

Create A Captcha Form

Posted by Pete | Posted in PHP Tutorials | Posted on 11-08-2009-05-2008

2

This tutorial will teach you how to protect your form’s from being submitted by bots. We will use a simple way, by creating a image using php with some randomly generated numbers then store it as a session and when the form is submitted we will check if the field in the form matches up with the numbers generated.
Read the rest of this entry »

Tutorials Written By Peter Kelly