Apr 07, 2011 — 3 comments
It's perhaps common knowledge these days as to what a cookie is. A cookie sits client-side in a user's browser and is sent to the server when the page is loaded. Cookies, however, can go a little deeper than just setting and receiving.
After Haris' mention of the PHP function range(), I thought the kindest thing to do would be to give it a proper introduction. So here is that introduction! Range is native PHP function that takes 2 compulsory arguments and 1 optional argument (As of PHP 5.0.0 which defaults to 1) and returns an array. Seem ever so simple? Well it is! The 3 arguments the function can accept are as follows...
In this tutorial you'll learn how to secure your scripts against SQL injections. Detailled explanation and good end result!
As a boy of 18 learning PHP, many tutorials over-complicated the PHP passing by reference side of things and just became all too puzzling to say the least. Let's start us off with a little quiz...
This article illustrates how you can use the PHP5 DOM API to create your own RSS files. When used in conjunction with RSS Parsing with SimpleXML, these articles will help you create and read RSS files by utilizing two of the new PHP5 extensions, SimpleXML and DOM.
Sometimes, when working on complex projects, you may need to store files on different servers. This can be easily done via FTP. The logging process makes it easier to track all changes. This article explains how you can add this option to your web site.
Arrays can be extremely useful. It's just when someone asks in what instance would you use an array, I end up being quite stumped to give a decent example. The truth is that arrays are used everywhere, from returning information from a database table, or storing models for your code. They come in a few forms: basic arrays or numeric arrays, multidimensional arrays and associate arrays.
This tutorial will show You how to generate google sitemaps based on Your site MySQL structure.
This article explains how to send SMS from your website using the ClickATell API and a PHP class.
Logging user data is a crucial part to any website. See how many visitors fly into your website. This can be used for all sorts of purposes! This tutorial shows you how to do just that by logging all the users in a database. It even shows you how to display them!
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?