browse by tag: beginner tutorials
sort by
Shortening multiple URLs with jQuery, PHP and bit.ly
in PHP added by prodevtips, 1 day ago 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 report10 PHP functions you (probably) never use
in PHP added by goodphptutorials, 3 weeks ago 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 reportHow 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 report10 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 reportCreating 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 reportEnhancing 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 report17 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 reportDesign 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 report15 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.
1 comment save reportIntegrate 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 reportImage 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.
1 comment save report10 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.
1 comment save reportPHP 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.
4 comments save reportThe 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 reportHow 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 reportCreate 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 report10 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 reportUsing 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 reportGenerating 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 reportRandom 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 reportPHP: 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 reportSmarty 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 reportWorking With UK Postcodes
in PHP added by porteightyeight, on 31/3/2008 beginner tutorials postcode
This short post provides you with a table for converting postcodes into counties. I created the table from a variety of sources for a recent project where I needed to be able to map user's postcodes to counties.
comment save reportEasy IP to country lookup
in PHP added by prodevtips, on 27/3/2008 beginner tutorials geo-ip networking
Check which country your visitors are coming from with an easy to use open database.
comment save report