php

Process POST Data in PHP

Submitted by Yorkiebar on
Introduction: This tutorial is on how to handle POST data in PHP. POST? POST Data in PHP is data that has been sent behind the scenes from another page, or external source, which can be accessed by the page being sent the information. POST is one of the two methods available to use through HTML Forms.

Uploading POST Data to PHP in C#

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create POST data uploader in C#. POST or GET? If you don't know what the difference is between POST and GET, these are the methods used by PHP to gain information from external sources that parse the data to those PHP pages. GET is URL based such as; index.php?id=2 Id is 2. And POST is behind the scenes for sensitive information such as passwords. Project: So first we want to create a basic C# project through the File > New Project wizard.

How to Crop Image

Submitted by GeePee on
This project will teach you how to crop image using php and javascript. The user will first need to upload a picture. There will be a transparent dotted box which the user will use to determine what size and angle to cut. The box can be dragged and resized.

Use DateTime Stamp Appropriately in PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use timestamps properly in PHP and MySQLi to sort information from databases in to the correct order. What's a Timestamp? A timestamp is a data type in PHP and MySQL(i) which is used to hold the correct format of a specified date, time, or date and time together. Database: To enable a database table to hold a timestamp we can first create a database, named 'fln', then create a table named 'test', and give it the following column structure... id, int, 5 length, primary key, auto increment date, dateti

How to Resize Image in PHP

Submitted by GeePee on
This project will show you how to resize image using php. It will let you upload images you want to resize. You have two options; either you change the image size using the width textfield or use the height textfield. If you change the width, the height will automatically change keeping it's aspect ratio. The same goes when you change the height. Hope you learn from this.

Registering Via IP (Continuation) in PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial is on how to allow our users register via their unrecognised IP (Continued from http://www.sourcecodester.com/php/7539/auto-recognise-users-ip-address-through-phpmysqli.html). Important: I highly recommend that you read through the linked tutorial above, it will allow you to get the same source I am going to be using throughout this tutorial! Validation: So before we

Auto Recognise Users via IP Address Through PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial will show you how to quickly identify your website users through their IP. Database: First we will need a database (mine is 'fln'), a table - 'test', and columns with data. My columns are; id, int, 5 length, primary key, auto increment username, varchar, 255 length ip, varchar, 255 length The IP field does not have to be 255 characters long but it will help to avoid

Retrieving Specific Data in MySQL/PHP

Submitted by Yorkiebar on
Introduction: This tutorial is on how to retrieve specific data from a database through PHP and MySQL/MySQLi. Latest: In my latest tutorials I have shown how to retrieve all rows from a database table, how to insert data, and how to validate data. Now I will show you how to retrieve specific data through slightly more advanced queries. Database: First you will obviously need a database with table