Great Reviews!Need help setting up your website, installing Apache, PHP, MySQL, or RavenNuke(tm)?Need help customizing or designing scripts?Please contact us via the Contact Us option for further details and pricing.
Southern writes "PHP is a scripting language designed to fill the gap between SSI (Server Side Includes) and Perl, intended largely for the web environment. PHP has gained quite a following in recent times, and it is one of the forerunners in the Open Source software movement. Its popularity derives from its C-like syntax, and its simplicity. PHP is currently divided into two major versions: PHP 4 and PHP 5, although PHP 4 is deprecated and is no longer developed or supplied with critical bug fixes. PHP 6 is currently under development.
If you've ever been to a website that needs you to login, you've probably encountered a server-side scripting language. Due to its market saturation, this means you've probably come across PHP. PHP was designed by Rasmus Lerdorf to display his resume online and to collect data from his visitors.
Basically, PHP allows a static webpage to become dynamic. "PHP" is an acronym that stands for "PHP: Hypertext Preprocessor". The word "Preprocessor" means that PHP makes changes before the HTML page is created. This enables developers to create powerful applications which can publish a blog, remotely control hardware, or run a powerful website such as Wikipedia or Wikibooks. Of course, to accomplish something such as this, you need a database application such as MySQL.
Posted by Raven on Monday, November 21, 2011 @ 00:32:15 EST (241 reads) ( | Score: 0)
Migrating from PHP 5.2.x to PHP 5.3.x
Southern writes "Table of Contents
What has changed in PHP 5.3.x
Backward Incompatible Changes
New features
Changes made to Windows support
Changes in SAPI modules
Deprecated features in PHP 5.3.x
Undeprecated features in PHP 5.3.x
New Parameters
New Functions
New stream wrappers
New stream filters
New Class Constants
New Methods
New Extensions
Removed Extensions
Other changes to extensions
New Classes
New Global Constants
Changes to INI file handling
Other changes
See also the migration guides for PHP versions 5.0.x, 5.1.x and 5.2.x.
more: us2.php.net"
Posted by Raven on Sunday, October 02, 2011 @ 18:56:40 EDT (744 reads) ( | Score: 0)
PHP encryption for the common man
Southern writes "How to secure the data in your PHP applications
Summary: In this increasingly virtual online world, you have to be careful to protect your data. Learn the basics of encoding and encrypting important bits of information, such as passwords, credit card numbers, and even entire messages. Get an overview of what it means to encrypt and decrypt information, as well as some practical examples involving passwords and other data, using PHP's built-in functionality.
IBM"
Posted by Raven on Sunday, October 02, 2011 @ 18:51:00 EDT (775 reads) ( | Score: 0)
PHP Tutorial
Southern writes "I started working on PHP a long time ago. Unfortunately not many PHP tutorial were available that would explain the basics of PHP at that time. It is my vision to help the entire developer community to learn the concepts of PHP.
This page will consist of various articles and tutorials on PHP, e.g.: PHP5 Tutorial, PHP Examples, PHP Class, etc. Read on to find out.
Posted by Raven on Sunday, June 12, 2011 @ 19:44:12 EDT (1191 reads) ( | Score: 0)
Best PHP Tools of the Month
Southern writes "It doesn't matter if you're a beginner or an advanced PHP programmer, if you're looking for something or just anything. This is a list to bookmark if you're into PHP. Frameworks, AJAX applications that speak using PHP, highlighters, parsers, video tutorials and many more in this month's "Best PHP tools of the month".
Posted by Raven on Sunday, June 12, 2011 @ 19:42:26 EDT (1685 reads) ( | Score: 0)
10 Useful PHP Tips Revisited
Southern writes "1. Use an SQL Injection Cheat Sheet
This particular tip is just a link to a useful resource with no discussion on how to use it. Studying various permutations of one specific attack can be useful, but your time is better spent learning how to safeguard against it. Additionally, there is much more to Web app security than SQL injection. XSS (Cross-Site Scripting) and CSRF (Cross-Site Request Forgeries), for example, are at least as common and at least as dangerous.
We can provide some much-needed context, but because we don’t want to focus too much on one attack, we’ll first take a step back. Every developer should be familiar with good security practices, and apps should be designed with these practices in mind. A fundamental rule is to never trust data you receive from somewhere else. Another rule is to escape data before you send it somewhere else. Combined, these rules can be simplified to make up a basic tenet of security: filter input, escape output (FIEO)."
Posted by Raven on Friday, May 20, 2011 @ 01:21:23 EDT (1793 reads) (Read More... | 1500 bytes more | Score: 0)
50+ PHP optimisation tips revisited
Southern writes "Enjoy!
1. echo is faster than print.
2. Wrap your string in single quotes (') instead of double quotes (") is faster because PHP searches for variables inside "" and not in '', use this when you're not using variables you need evaluating in your string.
3. Use sprintf instead of variables contained in double quotes, it's about 10x faster.
4. Use echo's multiple parameters (or stacked) instead of string concatenation.
5. Use pre-calculations, set the maximum value for your for-loops before and not in the loop. ie: for ($x=0; $x
6. Unset or null your variables to free memory, especially large arrays.
7. Avoid magic like __get, __set, __autoload.
8. Use require() instead of require_once() where possible.
9. Use full paths in includes and requires, less time spent on resolving the OS paths.
10. require() and include() are identical in every way except require halts if the file is missing. Performance wise there is very little difference.
Posted by Raven on Friday, May 20, 2011 @ 01:13:35 EDT (850 reads) ( | Score: 0)
Online PHP Syntax Validator and Debugger
Southern writes "Do you want to debug PHP like never before and learn to avoid PHP scripting pitfalls?
The following in depth information about common PHP Notices, Warnings, Parse and Syntax Errors will automatically display above when you are syntax checking using the form if information about the particular error you receive is on file with us. We are just listing these here also in case you want to see a list of the more common problems people have, and how to fix them.
Posted by Raven on Friday, May 20, 2011 @ 00:56:37 EDT (1446 reads) ( | Score: 0)
10 PHP functions you (probably) never use
Southern writes "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.
Posted by Raven on Sunday, May 15, 2011 @ 23:35:36 EDT (1349 reads) ( | Score: 0)
PHP Debug Console
Southern writes "What is the Debug Console?
The Debug Console is a tool for debugging and tracing PHP5 applications on productive servers without compromising the live-traffic.
With simple PHP functions you can inspect variables, watch changes in variables over the whole run time, measure partial run times, set checkpoints and write log files. Additionally, the Debug Console replaces the PHP error handling so that notices, warnings and errors are shown in a popup too, instead of displaying them in the application to be debugged.
"
Posted by Raven on Friday, May 06, 2011 @ 00:27:27 EDT (1418 reads) (Read More... | 1096 bytes more | Score: 0)