browse by tag: general
sort by
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 reportHow PHP became such a huge success
in PHP added by goodphptutorials, on 17/9/2009 general news
Linux Format magazine caught up with him to find out more about his position in the PHP camp today and the decisions he made early on that made the project a whopping success.
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 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 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.
5 comments save report50 Extremely Useful PHP Tools
in PHP added by goodphptutorials, on 21/1/2009 general tools
This post presents 50 useful PHP tools that can significantly improve your programming workflow. Among other things, you’ll find a plethora of libraries and classes that aid in debugging, testing, profiling and code-authoring in PHP.
comment save reportUsing an autoload function to make your life easier
in PHP added by clearnetwork, on 11/10/2008 advanced tutorials general oo programming php5
In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.
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 reportBot Detection with PHP
in PHP added by charliepage, on 21/7/2008 bot detection bots general
Bots or Crawlers, are basically search engines crawling around the internet. This is how you get your pages on search engines (well, a major way). Bot Detection isn't something super vital, but if your CMS or website already has practically everything, then you need Bot Detection.
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 report9 PHP Debugging Techniques You Should Be Using
in PHP added by porteightyeight, on 25/4/2008 advanced tutorials debugging general
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...
comment save reportSorting 2D-arrays in PHP
in PHP added by prodevtips, on 6/1/2008 array beginner tutorials general
How to use array_multisort to sort tables by column.
comment save reportDisplay how many visitors online
in PHP added by ineedtutorials, on 3/1/2008 beginner tutorials database general oo programming php5
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.
1 comment save reportSending emails with php
in PHP added by ineedtutorials, on 29/12/2007 email general phpmailer
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.
1 comment save reportBeginners PHP Part 3
in PHP added by Slipszenko, on 27/11/2007 beginner tutorials general
The last in the series of tutorials for absolute beginners to the PHP language
comment save reportBeginners PHP Part 2
in PHP added by Slipszenko, on 26/11/2007 beginner tutorials general php
A tutorial for complete beginners to PHP.
comment save reportBeginners PHP Part 1
in PHP added by Slipszenko, on 25/11/2007 beginner tutorials general php
A tutorial for total beginners to PHP.
comment save reportGetting to know GD
in PHP added by Sidewinder, on 9/11/2007 beginner tutorials gd general
Have you ever been on aim and received a message from one of your friends with a big long URL followed by something like John%20Is%20Stupid; You know what ever it is, wont be worth your time, but you click on it anyway to find someone goofy looking holding a sign and on it printed in big bold letters "John Is Stupid". Ever wonder how they work?
comment save reportSimplify e-mail validation routines with PHP
in PHP added by goodphptutorials, on 29/10/2007 email general regex regular expression verification
A very common task when building Web sites involves validating user-supplied e-mail addresses. In this article we'll show you how to use the powerful regular expression engine built into PHP.
comment save reportSurviving 100,000 instant Visitors on a Budget
in PHP added by goodphptutorials, on 20/8/2007 general server traffic
This tutorial describes what I did to cope with a spike of 100,000 visitors, keeping my server up throughout the entire day.
comment save reportFacebook PHP Tutorial
in PHP added by jlaing, on 6/8/2007 facebook general
The basics of using the Facebook PHP Client Library and how to get your application started, including:
1. Installing The Facebook Developer Application
2. Downloading The Facebook PHP Client Library
3. Creating Your Application
4. Hello Facebook! Example
5. FBML - Facebook Markup Language
6. Using the Facebook API
Edit phpBB: Based on users active over the past five minutes
in PHP added by ProgrammingPHP, on 3/8/2007 editing forum general phpbb
A frequent question regarding phpBB forum scripts seems to be how to alter the length of user activity shown. Here is an easy four-step guide.
comment save reportOptimizing Apache and PHP
in PHP added by goodphptutorials, on 28/5/2007 general lamp performance tuning
Applications using the LAMP (Linux, Apache, MySQL, PHP/Perl) architecture are constantly being developed and deployed. But often the server administrator has little control over the application itself because it's written by someone else. This series of three articles discusses many of the server configuration items that can make or break an application's performance. This second article focuses on steps you can take to optimize Apache and PHP. Linux, Apache, MySQL, and PHP (or Perl) form the basis of the LAMP architecture for Web applications. Many open source packages based on LAMP components are available to solve a variety of problems. As the load on an application increases, the bottlenecks in the underlying infrastructure become more apparent in the form of slow response to user requests. The previous article showed you how to tune the Linux system and covered the basics of LAMP and performance measurement. This article focuses on the Web server components, Apache and PHP.
comment save report