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

browse by tag: beginner tutorials

sort by

newest, oldest, most popular


category icon

Smarty Template Engine Crash Course

in PHP added by goodphptutorials, on 22/5/2008 beginner tutorials smarty template

For those of you who have used PHP template engines, the basic concepts of Smarty should look quite familiar. In your PHP application you assign variables for use in the template, then you display it.

comment save report
category icon

PHP: Be Notified When Google Crawls Your Site

in PHP added by adzeds, on 3/6/2008 beginner tutorials crawl general google mysql php5

Have you ever wanted to know when Google crawls your website? Well now you can using a simple PHP script which emails you everytime GoogleBot crawls your site.

comment save report
category icon

Random Password Generation

in PHP added by clearnetwork, on 15/7/2008 beginner tutorials general random security

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.

comment save report
category icon

Generating Search Engine Friendly Titles for your URL

in PHP added by clearnetwork, on 29/7/2008 beginner tutorials seo

For most dynamic websites you will want to create "Search Engine Friendly" or "User Friendly" URLs, rather than using ugly and meaningless strings or IDs to reference your content. The way you interpret the URLs and use them to get your content is for another article and I won't go into that right now, what I want to talk about is how to turn your page titles into versions that can be used in your URL.

comment save report
category icon

Using Search Engine Friendly URLs for your Dynamic Pages

in PHP added by clearnetwork, on 29/7/2008 beginner tutorials mod rewrite seo

"Search Engine Friendly URLs" or "User Friendly URLs" are a much better way of constructing your URLs for dynamic pages. In this article I will discuss some basic ways of doing this, with a little help from mod_rewrite.

comment save report
category icon

10 Principles of the PHP Masters

in PHP added by goodphptutorials, on 4/10/2008 beginner tutorials general tips

With PHP's widespread adoption,it's almost too easy to find a script or snippet to do exactly what you need. Unfortunately, there's no filter as to what is a "good practice" and what's, well... not so good when writing a PHP script. We need trustworthy sources, who have proven they have a solid grasp on the best practices of PHP.

comment save report
category icon

Create A Custom Wordpress Page with Different Template

in PHP added by goodphptutorials, on 26/11/2008 beginner tutorials wordpress

Recently I needed to create a page in Wordpress that didn't have the sidebar on it. Took me a wile to find the solution, but the one I found works like a charm. Takes a bit of programming knowledge, but not too bad.

comment save report
category icon

How to Dynamically Create Thumbnails

in PHP added by goodphptutorials, on 27/11/2008 beginner tutorials media thumbnail

In this week's screencast, I'll show you how to upload files and then have PHP dynamically create a thumbnail. Whether you're building an ecommerce site, or just a simple gallery, these techniques will absolutely prove to be useful. If you're ready for your "spoonfed" screencast of the week, let's get going!

comment save report
category icon

Introduction to SQL Injection

in PHP added by iDemonix, on 8/12/2008 beginner tutorials database injection mysql security sql

In this tutorial we look at the issue of SQL injection, how the attackers use it, the problems that can arise and methods of prevention using PHP.

comment save report
category icon

The adventure of PHP and the magic quotes

in PHP added by goodphptutorials, on 19/12/2008 beginner tutorials compatibility security

Back in PHP 2, the “magic quotes” setting seemed like a great idea. It would automatically escape all of your input so you didn’t have to worry about those pesky SQL injections. Any dodgy characters entered by the user would be automatically escaped by a backslash.

comment save report
category icon

PHP and AJAX - Make a Password Strength Bar that Updates in Real-time

in PHP added by scott25, on 2/2/2009 beginner tutorials databases general mysql security

This tutorial will show you how to make a very simple feature which will help your users make more secure passwords, in registration forms. After the user types their password, this script will make a request to a PHP page, which will check the password for lowercase letters, uppercase letters, numbers and symbols. Without reloading the page, a bar displaying the strength of the password will be shown to the user.

comment save report
category icon

10 Advanced PHP Tips Revisited

in PHP added by goodphptutorials, on 23/4/2009 beginner tutorials security tips

Because of PHP's huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

comment save report
category icon

Image watermark with PHP

in PHP added by webmonitore, on 22/5/2009 advanced tutorials beginner tutorials content management general php5 security

To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial.

comment save report
category icon

Integrate PHPBB3 with your website

in PHP added by exoph, on 27/5/2009 advanced tutorials beginner tutorials content management forum phpbb3

This tutorial will show you how to take a simple installation of PHPBB3 and add it to your website to restrict page access based on registration status.

comment save report
category icon

15 PHP regular expressions for web developers

in PHP added by goodphptutorials, on 28/7/2009 beginner tutorials regex

Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit.

comment save report
category icon

Design Patterns in PHP [PDF]

in PHP added by nirajam, on 29/7/2009 advanced tutorials beginner tutorials oo programming php5

In this tutorial you learn some of the Design Patterns and how to implement them in PHP. These are an essential part of OOP and make your code more effective, better performing, and easier to maintain. Sometimes we implement these design patterns in our code without knowing that these solutions are defined by design patterns. Proper usage of the correct pattern can make your code perform better; similarly using them improperly could make your code slower and less efficient.

comment save report
category icon

17 PHP Practices That Should Be Banished Forever

in PHP added by goodphptutorials, on 6/8/2009 bad practise beginner tutorials general

The following is a list of 17 PHP programming practices that in my opinion should be banished into oblivion. Forever and ever. Amen.

comment save report
category icon

Enhancing a URL Handling Helper Class in PHP 5

in PHP added by goodphptutorials, on 12/8/2009 beginner tutorials general php5 url

Are you a PHP developer wishing to find an approachable guide that walks you through building different kinds of helper classes in PHP 5? Then look no further, because this group of articles may be the material that you really need.

comment save report
category icon

Creating a Validation Helper Class

in PHP added by goodphptutorials, on 18/8/2009 beginner tutorials validation

Helper classes seem easy to build -- almost deceptively so. If you're building a helper class to assist with a crucial function, however, such as validation, the approach you need to take may seem a bit less straightforward. This fifth article in an eight-part series on building helper classes walks you through the process, complete with hands-on examples.

comment save report
category icon

10 Useful WordPress Hook Hacks

in PHP added by goodphptutorials, on 19/8/2009 beginner tutorials hook wordpress

Hooks are very useful in WordPress. They allow you to "hook" a custom function to an existing function, which allows you to modify WordPress' functionality without editing core files. In this article, we have compiled 10 extremely useful ready-to-use WordPress hooks, along with examples and coding explanations.

comment save report
category icon

How to Debug in PHP

in PHP added by goodphptutorials, on 15/9/2009 beginner tutorials debug

Nobody enjoys the process of debugging their code. If you want to build killer web apps though, it’s vital that you understand the process thoroughly. This article breaks down the fundamentals of debugging in PHP, helps you understand PHP’s error messages and introduces you to some useful tools to help make the process a little less painful.

comment save report
category icon

10 PHP functions you (probably) never use

in PHP added by goodphptutorials, on 14/1/2010 beginner tutorials functions general

When scripting in PHP, we often restrict ourselves to a limited number of API functions: the common ones, like print(), header(), define(), isset(), htmlspecialchars(), etc. If some needed functionality doesn’t exist, we often write it making use of these basic components which we have in mind. The PHP API actually offers a lot of functionality, some useless and some useful; often seldom used. I have been looking through the available functions and was interested to find some really cool functions that I should have known about. Here, I share my findings.

comment save report
category icon

Shortening multiple URLs with jQuery, PHP and bit.ly

in PHP added by prodevtips, on 7/2/2010 beginner tutorials

Tutorial on how to shorten all urls in a text area by way of bit.ly and some jQuery, Ajax and PHP.

comment save report
category icon

Creating a Basic Template System in PHP

in PHP added by rizwan6feb, on 13/2/2010 beginner tutorials templates

This article shows you how to use the php include function to implement a template system in PHP. It will not be a full fledged template system, it will rather teach you how to setup a basic template system in PHP

comment save report
category icon

Getting started with CouchDB: a beginner's guide

in PHP added by goodphptutorials, on 9/5/2010 beginner tutorials couchdb nosql

Have you ever dreamt about a powerful database that you can access easily, without using the SQL language? That what Apache CouchDB is all about. In this tutorial, I'm going to show you how to get started with this document-riented database and how you can use it with PHP.

comment save report