-
-
8:14
»
Good PHP Tutorials - New Tutorials
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.
-
8:14
»
Good PHP Tutorials - New Tutorials
This article examines how PHP handles passing of variables internally, as well as how this relates to memory usage. This information is can be very useful for any professional PHP developer as it shows how passing variables by reference will normally result in more (not less) memory being used.
-
8:14
»
Good PHP Tutorials - New Tutorials
The tests were run on a 1.8Ghz AMD sempron computer with 512Mb RAM running Ubuntu Gutsy (7.10) Desktop.
-
8:14
»
Good PHP Tutorials - New Tutorials
If you run a serious webpage where you save login information for your members to a database it is generally a very good idea to perform some kind of encryption on these password to prevent the information to be shared in case your datebase would be hacked. This tutorial shows you how to do this.
-
8:14
»
Good PHP Tutorials - New Tutorials
Showcasing how jQuery can be used in combination with the most popular templating engines for PHP and a popular PHP framework with a simple example.
-
-
23:34
»
Good PHP Tutorials - New Tutorials
Shows how you can extend the Zend DB Table which is an important part of the popular PHP framework, in order to do less database coding.
-
23:34
»
Good PHP Tutorials - New Tutorials
A recent conversation with a Zend employee revealed some good news for PHP and Google App Engine...
-
23:34
»
Good PHP Tutorials - New Tutorials
With WEB 2.0 fast approaching we are scurrying to make our sites ready for the change. Adding syndicated content to get a deeper reach in to this web is one way to get started. In this tutorial i will show you how to make your own RSS 2.0 content Feed using Object Orientated Programming for your website. At the end of the tutorial there will also be the full script for you to learn by example or just cut out the middle man and use it.
-
-
19:55
»
Good PHP Tutorials - New Tutorials
This tutorial explains how to check username availability in ajax and php using jquery's fading effect for showing the various messages...
-
19:55
»
Good PHP Tutorials - New Tutorials
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.
-
19:55
»
Good PHP Tutorials - New Tutorials
You see them all over the internet, search engine friendly URLs are becoming very popular. There are a couple ways to achieve a search engine friendly URL but the easiest way to implement them is to use mod_rewrite in your .htaccess file. In this tutorial you will learn how to read and call a search engine friendly URL on your website using a gateway type template script.
-
-
8:22
»
Good PHP Tutorials - New Tutorials
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.
-
8:22
»
Good PHP Tutorials - New Tutorials
This is a basic example of using GD functions, and creating a function to convert a unidimensional array into a graphic like this: http://gwphp.feudal-times.net/wp-content/uploads/2008/02/graph.png
-
8:22
»
Good PHP Tutorials - New Tutorials
How to capture content for server-side caching in PHP.
-
8:22
»
Good PHP Tutorials - New Tutorials
Display captcha using secure forms.
-
8:22
»
Good PHP Tutorials - New Tutorials
Once again a post aimed at the PHP community, not so much of a rant but more of something I’ve seen done horribly wrong in a lot of PHP code recently
-
-
12:33
»
Good PHP Tutorials - New Tutorials
In-function caching can often be used to greatly improve the performance of our software. Applying this technique effectively is important to avoid spiraling memory usage and bizarre bugs that can be caused by old cache data lingering around.
-
12:33
»
Good PHP Tutorials - New Tutorials
Symfony has Ajax helpers that make programming an elaborate interface a piece of cake. This tutorial will show you step-by-step how to create an Ajax-powered symfony application in minutes.
-
12:33
»
Good PHP Tutorials - New Tutorials
As Web sites and Web-based applications become more important to commercial firms and other organizations, so too does the methods used for storing data online, such as customer contact information, system login details, product data, and much more. Rewritable flat files may be sufficient for extremely limited data for which security is not an issue. But for most Web sites and applications, a robust database is called for.
-
12:33
»
Good PHP Tutorials - New Tutorials
Get a basic tutorial and free code to use Authorize.Net's Customer Information Manager API to create subscriptions and store credit card data while being PCI compliant.
-
12:33
»
Good PHP Tutorials - New Tutorials
This tutorial explains you how to hide or change the .php extension in browser's address bar using .htaccess file.
-
-
15:45
»
Good PHP Tutorials - New Tutorials
Save yourself time, effort and headaches by employing the debugging techniques discussed in this article. I cover topics from enabling notices to writing Unit Tests, as well as some ideas you may not have thought of...
-
15:45
»
Good PHP Tutorials - New Tutorials
Although there are several commercially available feed aggregators, it's easy to develop your own feed aggregator, which you can integrate with your Web applications. You'll appreciate this article's fully functional PHP code snippets, demonstrating the use of PHP-based server-side functions to develop a customizable RSS feed aggregator. In addition, you'll reap instant benefits from using the fully functional RSS feed aggregator code, which you can download from this article.
-
15:45
»
Good PHP Tutorials - New Tutorials
Create a plugin widget in Wordpress 2.5. Covers settings up and using sidebars in your template, activating your widget, and displaying your widget. This tutorial is best suited for people familiar with both PHP and Wordpress themes and plugins.
-
15:45
»
Good PHP Tutorials - New Tutorials
There are several PHP scripts and classes to process PayPal payments using their native IPN (Internet payment notification) feature. This Tutorial / guide will show you how to process paypal payments using the IPN feature
-
-
8:41
»
Good PHP Tutorials - New Tutorials
This tutorial shows you how to create a script that shows how many people are on each page of your site, without using a database. You can easily get the number of online visitors for each page as well as the whole site.
-
8:41
»
Good PHP Tutorials - New Tutorials
Even though it is possible to do Web development and testing on a remote server, it is better to fully develop a new Web site on a local Web server, and then upload everything when it is finished, for many reasons: 1) Keeping the unfinished site off the Internet is safer, because as you begin developing the site, you probably have not put in all of your code for neutralizing any potential attacks against your site, including cross-site scripting (XSS) vulnerabilities...
-
-
2:41
»
Good PHP Tutorials - New Tutorials
Object oriented programming was introduced for the first time in PHP 3. But the subjects is extremely actual again in PHP 5, because the entire concept of the OOP(Object Oriented Programming) was in fact redesigned from scratch for the new version of the language (PHP 5). Hence, this tutorial would be interesting for the advanced user familiar with PHP 4 and as well for the beginners, since we will try to use more "understandable" words and examples comprehensive enough to express the real power of the object oriented programming.
-
-
21:52
»
Good PHP Tutorials - New Tutorials
When you walk into a mall, one of the first things you come to is a map with a "you are here" indicator that lets you know where you are. On a website, we can accomplish this by higlighting the current location on a navigation bar, menu, or list. Since the primary navigation is the most prominent feature on a website, we will discuss an easy way to do this with PHP.
-
21:52
»
Good PHP Tutorials - New Tutorials
This post gives an introduction to the complications that can arise from deploying your PHP applications onto a load balanced web hosting platform. This is a must-read article if you are planning to develop large scale web applications, or if your software will be deployed on a large range of platforms (as is the case for many open source projects).
-
21:52
»
Good PHP Tutorials - New Tutorials
PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application.
-
21:52
»
Good PHP Tutorials - New Tutorials
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.
-
-
14:39
»
Good PHP Tutorials - New Tutorials
Check which country your visitors are coming from with an easy to use open database.
-
14:39
»
Good PHP Tutorials - New Tutorials
A simple "PHP component" (8Kb), ready to use, to implement a search form with an autosuggest feature using PHP and MySQL just modifying some parameters.
-
-
10:48
»
Good PHP Tutorials - New Tutorials
Why are there so many examples of bloated PHP methods out there?! I see a lot of bloated methods being used in examples through sites like phpclasses.org and a very large chunk of a project I’ve recently picked up which a few developers have worked on. Guys! remember! There is no good reason to bloat your methods to over 10-20 lines long and on the rare occasions that you do exceed 10 - 20 lines it would be more the exception to the rule as opposed to being the rule itself!
-
10:48
»
Good PHP Tutorials - New Tutorials
When it comes to building web applications in PHP, performance isn't typically a major concern. Features, usability and any business concerns are considered a greater priority, as they can be better demonstrated and visualised. Performance graphs don't make the boss's day. So, why should you as a PHP developer, worry about performance? Quite a few reasons, in fact...
-
-
13:17
»
Good PHP Tutorials - New Tutorials
PDF is a popular, versatile format for storing content. PDF files can be generated once, and distributed in peace knowing that they will look the same across all platforms. They also serve as a perfect way of allowing your users to download or email a page from your website. In this tutorial, I'll show you how to generate PDF files in pure PHP and distribute your content in a single, consistent format.
-
13:17
»
Good PHP Tutorials - New Tutorials
This tutorial explains how to use prototype.js framework an PHP to delete a record from a database with Ajax. This is a simple overview with basic features you can use and improve in your web projects.
-
13:17
»
Good PHP Tutorials - New Tutorials
Get a step-by-step tutorial and free code to use Authorize.Net's recurring billing API to create subscriptions for your e-commerce website.
-
13:17
»
Good PHP Tutorials - New Tutorials
Parsing an item in multiple categories can be tricky, this tutorial shows you how.
-
13:17
»
Good PHP Tutorials - New Tutorials
This tutorial discusses creating an advanced fuzzy search engine using PHP and a database. The tutorial uses the example of a wiki application, but the concepts can easily be applied to other applications in different languages.
-
13:17
»
Good PHP Tutorials - New Tutorials
In this tutorial you will learn to create a security code image generator, or a CAPTCHA image, that is so helpful against spammers.
-
-
13:55
»
Good PHP Tutorials - New Tutorials
Today I'll introduce you to CodeIgniter, a framework that does all three. CodeIgniter is an MVC application framework for PHP that gives you a consistent structure for your application, takes care of common tasks and helps you implement complex functionality with minimal effort.
-
13:55
»
Good PHP Tutorials - New Tutorials
An RSS feed is a great way to serve up your content to users. However, if you're not using a standard CMS or blogging platform you may not have an RSS feed generated for you automatically.
This tutorial will show you how to create an RSS feed in a few simple steps. If you can query your database to get information about your articles, you can complete this tutorial and build a custom feed.
-
13:55
»
Good PHP Tutorials - New Tutorials
Cryptography is for most web developers like a vast and endless ocean of intimidating un-absorb-able information. Which is sad, since cryptography is so useful and in many situations absolutely necessary. I will not even try to explain why, since I consider developers that don't care about the security, and integrity of their end users a lost case.
-
13:55
»
Good PHP Tutorials - New Tutorials
This tutorial walks you through using the Digg API to fetch a random story from Digg and display it on your own site. Good introduction to using the Digg API for content syndication. Uses PHP 5 and XML.
-
13:55
»
Good PHP Tutorials - New Tutorials
cool nice slider which is implemented using javascript , Ajax and PHP
-
-
17:00
»
Good PHP Tutorials - New Tutorials
In this tutorial, we’ll take a look at the technique of geotargeting, or serving content to users based on their physical location. The technology is invaluable; with simple techniques, you can target advertising to specific users, collect more accurate usage statistics, serve content in different languages for different regions and provide local information like weather reports to your visitors.
-
17:00
»
Good PHP Tutorials - New Tutorials
In this tutorial, I'll show you how to use PHP-CLI, the command line interface for PHP, to get your maintenance under control using the technologies you're already familiar with. By the time you've finished this tutorial, you'll be able to build human-assisted backup systems, automatic report generators.
-
17:00
»
Good PHP Tutorials - New Tutorials
Cookies are just a basic aspect of PHP, but can be used in so many things. From logging in and out a user on your website to keeping the name of the skin they use on your website. Below I will explain how to set (add) a cookie, delete one and then display/check one. I will first show the PHP code and then explain it.
-
-
14:17
»
Good PHP Tutorials - New Tutorials
This tutorial explains how to use prototype.js framework to enable a simple ajax request which add a new record (an user name) into a database table using PHP like server side language.
-
14:17
»
Good PHP Tutorials - New Tutorials
This quick tutorial shows you how to use Simple XML to read and manipulate an RSS feed. The end result is a few lines of code that you can use to syndicate a site's feed on your own page - adding links to relevant content for your users.
-
14:17
»
Good PHP Tutorials - New Tutorials
This tutorial shows you how to create a random, 8-character password to use in your user-management system.
-
14:17
»
Good PHP Tutorials - New Tutorials
Sometimes you want to display an image - but it's not stored in the right size. If you allow the browser to resize the image, it will get distorted and waste bandwidth.
Instead, you can use the PHP GD library to resize the image on the fly. This tutorial will show you how to use the GD library to read an image, resize it, and output it as part of an HTML page.
-
14:17
»
Good PHP Tutorials - New Tutorials
This tutorial explains how to implement a simple ajax search with autosuggest feature using some lines of code. All files are fully customizable and ready to reuse in your projects.
-
-
16:36
»
Good PHP Tutorials - New Tutorials
Learn to get control over how (or if) error messages are displayed to users, even though you're using several third-party libraries that each have their own views on handling errors.
-
-
4:39
»
Good PHP Tutorials - New Tutorials
Learn to create a custom error handler that lets you control how PHP reports errors.
-
4:39
»
Good PHP Tutorials - New Tutorials
This tutorial will walk you through how to write a short php script designed to send a trackback ping to a blog of your choice.
-
4:39
»
Good PHP Tutorials - New Tutorials
This tutorial will walk you through using PHP's crypt() function to effectively encrypt a password for storage in a database and later check that password against a user's input.
-
-
8:41
»
Good PHP Tutorials - New Tutorials
Juggling and casting the variables types in PHP.
-
8:41
»
Good PHP Tutorials - New Tutorials
A quick flash video showing how to install Apache on Windows Vista.
-
-
2:36
»
Good PHP Tutorials - New Tutorials
This article will introduce you to some basic concepts such as error checking and built-in functions like var_dump() that will aid you in tracking down errors in your PHP applications. There are also many fully-fledged debugging tools for PHP that lets you set breakpoints, watch variables, and such like, but we won't be using them in this article
-
-
21:19
»
Good PHP Tutorials - New Tutorials
This post is the third in a continuing series of DIY tutorials, which aims to make things as simple as possible. The [Easy as Pie] series focuses on tasks that most people consider too challenging and presents it in a way that is easy (as pie!) to understand.
-
-
17:05
»
Good PHP Tutorials - New Tutorials
This tutorial will show you how to create an advanced member login system with PHP, users can register, change password, email activation is included.
-
-
2:15
»
Good PHP Tutorials - New Tutorials
I've spent the last six months combing Google for 'slow mysql' results. It was enlightening. Now in the spirit of giving back to the community I give you:
-
-
4:10
»
Good PHP Tutorials - New Tutorials
With the recent talk on the blogosphere about deployment (and for Django, and lots of other posts too), people are thinking about PHP a bit more analytically. I think people mostly get it wrong.
-
4:10
»
Good PHP Tutorials - New Tutorials
in this tutorial you will learn how to do a backupfile like (back.sql) of one of your database tables or all the database
-
4:10
»
Good PHP Tutorials - New Tutorials
With the recent talk on the blogosphere about deployment (and for Django, and lots of other posts too), people are thinking about PHP a bit more analytically. I think people mostly get it wrong.
-
-
17:59
»
Good PHP Tutorials - New Tutorials
By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.
-
-
10:23
»
Good PHP Tutorials - New Tutorials
This tutorial will demonstrate how to make a basic poll using PHP, and store the results in MySQL. We will then display the results by making a pie chart with the GD Library.
-
10:23
»
Good PHP Tutorials - New Tutorials
This is a mini-guide with hot tutorials to learn, step-by-step, how to design a database from relationships-entities model to final implementation using SQL, MySQL and PHP. Very useful for web developers.
-
10:23
»
Good PHP Tutorials - New Tutorials
How to use array_multisort to sort tables by column.
-
-
4:20
»
Good PHP Tutorials - New Tutorials
How to implement a simple Edit in Place effect (Flickr-like) using Scriptaculous and PHP.
-
-
20:30
»
Good PHP Tutorials - New Tutorials
This is a very simple tutorial (really just some line of code!) that explains how to post a message using Twitter API from a PHP page.
-
20:30
»
Good PHP Tutorials - New Tutorials
Ever wonderd how to display how many visitors you have online. In this tutorial i will show you an easy but effective way to display the amount of online visitor’s.
-
20:30
»
Good PHP Tutorials - New Tutorials
This CAPTCHA script allows a user to easily customize things such as the string length, minimum and maximum font size, image size, the font used, and even the characters used, etc... Unlike most CAPTCHA scripts that generate the random text based on an md5 hash of the time, this one lets the user input specific numbers, uppercase, and lowercase characters they want used (or don't want used) in the creation of the CAPTCHA image. It also assures, regardless of the length of the string, that there is at least both 1 random upper and lowercase character in the string, thus making it more difficult for bots. Another feature in this script is that it randomly rotates each character on the image.
-
20:30
»
Good PHP Tutorials - New Tutorials
Learn to create a simple login system with php and mysql in 7 simple steps
-
20:30
»
Good PHP Tutorials - New Tutorials
You can configure apache to provide only a minimal amount of information about the installed software versions in its banner.
But if you are using the PHP module in your web server (as most of us are), then there is one additional step that need to be completed, and this is what I will show you in this tip.
-
20:30
»
Good PHP Tutorials - New Tutorials
In this tutorial, we'll see how the PHP server-side scripting language can be used to send email, and explore how to send complex message types such as HTML email or emails with file attachments.
-
-
10:41
»
Good PHP Tutorials - New Tutorials
I ran across this great, easy but very useful API a few days ago. Now for the tutorial.. let's assume we make a website for the TalkPHP soccerteam. They've played 10 matches (6 won, 3 draw, 1 lost). We'll be making a nice three dimensional pie chart of those stats!
Let me point out one little disadvantage before we start: This API has a limit to 50,000 queries per 24 hours. But futhermore nothing fency!
-
-
15:13
»
Good PHP Tutorials - New Tutorials
Undoubtedly, the release of PHP 5 has had a remarkable impact on the way that object-oriented applications are developed nowadays. This highly-improved model has provided PHP programmers with features that were only present in mature object-based languages, like Java and C++, but now, fortunately for you and me, they are generously offered by this powerful server-side scripting language.
-
-
18:09
»
Good PHP Tutorials - New Tutorials
This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all Linux-like operating systems.
-
18:09
»
Good PHP Tutorials - New Tutorials
With the rise of Javascript, and languages like Python and Ruby, functional programming is becoming more mainstream. Even Java seems to be getting closures in the next version, so does this leave PHP lacking behind or is there an unrealised potential hidden within?
-
-
3:03
»
Good PHP Tutorials - New Tutorials
The Zend_Gdata component of Zend Framework offers PHP 5 classes to access services supported by the Google Data APIs. The recent Zend Framework 1.0.3 release includes new support for some great services, including Picasa Web Albums, YouTube, and Google Documents List.
-
3:03
»
Good PHP Tutorials - New Tutorials
If you want to make use of PHP 6 when it comes, you're going to have to write your new scripts so they are compatible, and possibly change some of your existing scripts.
To start making your scripts PHP 6 compatible, I've compiled a list of tips to follow when scripting.
-
-
9:06
»
Good PHP Tutorials - New Tutorials
This article is intended as a reference for functionality PHP provides which can either help with handling UTF-8 or should be regarded as a risk when used in conjunction with UTF-8 encoded strings.
-
-
13:38
»
Good PHP Tutorials - New Tutorials
Learn how to create an administrator panel using CakePHP framework.
-
13:38
»
Good PHP Tutorials - New Tutorials
This tutorial will guide you through the process of building a comments script with PHP. The comments script will use a mySQL database to store and retrieve information. Its not too advanced, but additional features can easily be added, such as a delete feature and implementing usernames
-
13:38
»
Good PHP Tutorials - New Tutorials
Its a problem I come across often. Someone does a complete site redesign and all the filenames and paths have changed. They are really pleased with their new site. But what they don't realise is their users aren't so happy. Why? Well perhaps they have bookmarked one of your old pages. Or perhaps they type a search phrase into a search engine and it returns a link to your old pages. In both cases they will get "Page not found".
-
-
11:11
»
Good PHP Tutorials - New Tutorials
For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.
-
-
3:01
»
Good PHP Tutorials - New Tutorials
There might be many reasons why you may be storing data in a database. As Google has showed us, searching data is an invaluable tool that can help minimize the time that it takes to find the information you need.
I would like to show you how you can build your own PHP search engine to find the information you seek in a MySQL database.
-
3:01
»
Good PHP Tutorials - New Tutorials
This article will guide you through step-by-step to learn how to upload and manage files using PHP.
-
-
9:27
»
Good PHP Tutorials - New Tutorials
Shows how to setup a gallery with multiple uploads through a Shockwave made with the Flex SDK, also shows how to extend Zend Session to setup custom session ids.
-
-
3:01
»
Good PHP Tutorials - New Tutorials
The Template View and View Helper patterns lend themselves nicely when it comes to developing a View Layer solution for PHP, or so I found out with the recent refactoring of Cubix (dubbed Cubix II). This View layer duo is very much a great candidate for a 'tag team'. Each component performs a role and together make up a big part of the View Layer.
-
-
16:29
»
Good PHP Tutorials - New Tutorials
Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.
-
-
16:28
»
Good PHP Tutorials - New Tutorials
The Singleton Pattern is often mistakenly referred to as the OOP nuts "Global variable".
Classes that utilise the Singleton Pattern aims to have a single instance throughout the lifetime of the request/process.
-
-
14:03
»
Good PHP Tutorials - New Tutorials
Nearly every website allows you (the visitor) to become a member of the site you're visiting. Typically, one will register a desired username, and setup a password, then fill out a bit of information to stock a profile, like: location, interests, etc. and you're done. You can then access parts of the site that were once restricted, participate in forum discussions and cast your vote on polls - you get the idea. But how is that done? How do they distinguish between members? How can I do that with my site? Read on and you will learn how to allow visitors to register as members, and allow them to login/logout of your website.
-
14:03
»
Good PHP Tutorials - New Tutorials
Brief how to on making widgets with the Smarty insert function.