want to join us? register, it's easy | help
 

goodphptutorials has submitted 407 links

category icon

The Practicality of OO PHP

in PHP added by goodphptutorials, on 18/10/2006 design object oo programming oop php

There seems to be a common pitfall among some PHP developers--especially those just beginning PHP programming--and that is their lack of object-oriented (OO) PHP use. This article's purpose is to inform developers about the practicality of OO PHP; fully understanding the benefits of using OO PHP should be a requirement in the PHP learning process.

comment save report
category icon

Send SMS easy with PHP and cURL

in PHP added by goodphptutorials, on 17/10/2006 gateway networking sms text message

In this tutorial we will build a simple web page that allows your visitors or yourself to send SMS/text messages to a mobile phone globally, it's very easy. We will use Clickatells SMS HTTP API for this. With minor modifications you can make it work with other SMS providers as well.

comment save report
category icon

PHP: Multidimensional Arrays

in PHP added by goodphptutorials, on 16/10/2006 beginner tutorials

In this article principles of using multidimensional arrays are explained and source code defining multidimensional array and displaying the array values on the web page is given.

comment save report
category icon

SQLite tutorial for PHP 5

in PHP added by goodphptutorials, on 11/10/2006 databases

This quick SQLite tutorial will walk you through how to connect, create, insert and query a SQLite database using PHP 5. Object oriented code is also covered. The tutorial covers SQLite2 and SQLite3.

comment save report
category icon

PHP Fundamentals

in PHP added by goodphptutorials, on 6/10/2006 beginner tutorials

Covers the basic structure, variable handling, and loops. Aimed at beginers wanting to start learning PHP.

comment save report
category icon

How to Sort an Array in PHP

in PHP added by goodphptutorials, on 2/10/2006 beginner tutorials

It is often necessary to arrange the elements in an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). If the array contains string values, alphabetical order may be needed. Sorting a one-dimensional arrays is quite easy.

comment save report
category icon

File Download Security

in PHP added by goodphptutorials, on 29/9/2006 file handling

Want to prevent people from linking to your downloads? This script will force a page to be loaded before the download starts. HTML header statements are used to trigger the download of the file. PHP is used to push the file to the browser.

comment save report
category icon

Retrieving XML With Curl and SimpleXML

in PHP added by goodphptutorials, on 29/9/2006 networking

PHP 5 introduces SimpleXML and its a perfect name as parsing XML data is truly simple. In this tutorial we'll be using curl to retrieve the XML data from a remote web server.

comment save report
category icon

PHP Web Services Without SOAP

in PHP added by goodphptutorials, on 28/9/2006 advanced tutorials delete get post put rest soap web services

REST, unlike SOAP, doesn't require you to install a separate tool kit to send and receive data. Instead, the idea is that everything you need to use Web services is already available if you know where to look. HTTP lets you communicate your intentions through GET, POST, PUT, and DELETE requests.

comment save report
category icon

Passing Javascript variables to PHP

in PHP added by goodphptutorials, on 26/9/2006 general

JavaScript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications.

comment save report
category icon

PHP DataObjects: Simplifying Business Logic without SQL

in PHP added by goodphptutorials, on 23/9/2006 data access databases dataobjects object relational mapping objects orm sql

The goal of this tutorial is to demonstrate a system for manipulating a database without writing SQL queries. I introduce a number of concepts including the DataObject and DataAccessObject which together allow developers focus on manipulating data without needing to write, or even know SQL. This kind of system can be referred to as Object Relational Mapping (ORM)

comment save report
category icon

Conditional Statements

in PHP added by goodphptutorials, on 22/9/2006 beginner tutorials

Sometimes when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. In this tutorial we will look at two structures: if...else and switch statements.

comment save report
category icon

MySQL Database Design

in PHP added by goodphptutorials, on 22/9/2006 databases

Whenever you are working with a relational database management system such as MySQL, the first step in creating and using a database is to establish its structure. Database design, aka data modeling, is crucial for successful long-term management of your information

comment save report
category icon

How to connect to MS SQL Server database

in PHP added by goodphptutorials, on 21/9/2006 databases

In this tutorial we will show you how to connect to a MS SQL Server database using a DSN and without a DSN.

comment save report
category icon

Track Sites That Link to Your Pages

in PHP added by goodphptutorials, on 19/9/2006 general

Store incoming links into a mySQL database that you can use to analyze traffic, or write another PHP script to display the results.

comment save report
category icon

How to Encrypt Passwords in the Database

in PHP added by goodphptutorials, on 16/9/2006 security

If you are developing a password-protected web site, you have to make a decision about how to store user password information securely. This article will show you how to encrypt user passwords with md5 algorithm and how to start using encrypted passwords if you already have users database ready.

comment save report
category icon

How to install and cofigure PHP 5 on Windows box

in PHP added by goodphptutorials, on 14/9/2006 beginner tutorials

This article explains the steps you need to follow to configure PHP and secure its correct operation.

comment save report
category icon

File Handling Basics

in PHP added by goodphptutorials, on 14/9/2006 file handling

Goes over many functions and aspects about file handling that PHP has.

comment save report
category icon

DSN and DSN-less connections

in PHP added by goodphptutorials, on 14/9/2006 databases

DSN stands for "Data Source Name". It is an easy way to assign useful and easily rememberable names to data sources which may not be limited to databases alone. DSN-less connections don't require creation of system level DSNs for connecting to databases and provide an alternative to DSNs. This tutorial will show you how to connect to an Access database with a DSN and without a DSN.

comment save report
category icon

Get Remote Web Page Information Using PHP

in PHP added by goodphptutorials, on 14/9/2006 file handling

Use PHP to get the title, keywords and description of a remote web page.

comment save report
category icon

Blocking access to the login page

in PHP added by goodphptutorials, on 12/9/2006 user authentication

Sometimes you need to add an extra protection to password-protected website. This article explains how access to the login page can be restricted after three unsuccessful login attempts. This schema uses visitors IP address to store log attempts in the database and block access to login feature for 30 minutes after third unsuccessful attempt.

comment save report
category icon

Create a Web storefront with PHP and PayPal, Part 1

in PHP added by goodphptutorials, on 12/9/2006 e-commerce

This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically.

comment save report
category icon

The Magic __set_state Method in PHP5

in PHP added by goodphptutorials, on 10/9/2006 __set_state advanced tutorials magic methods methods php5 set_state

It is fairly self-evident how to use most of the magic methods of PHP 5. However, it is not quite so apparent how to use the __set_state method introduced in PHP 5.1. In this article, Peter lavin delves into this elusive magic method to show you how to use this gem in some really 'classy' object oriented PHP.

comment save report
category icon

Logging Script

in PHP added by goodphptutorials, on 10/9/2006 beginner tutorials

This tutorial presents very basic overview of how to log visitor data and write it to a file.

comment save report
category icon

Cake Tutorial: Building A Simple Blog - Part 2

in PHP added by goodphptutorials, on 8/9/2006 advanced tutorials bake blog cake example framework

This tutorial shows you how to use more advanced Cake methods to improve on the Baking a Blog with Cake example.

comment save report