Apr 07, 2011 — 9 comments
This series of articles demonstrates how to accept payments online using PHP and Authorize.Net. This is a practical tutorial as it uses real world scenarios and production ready code so readers can build safer and easier to maintain ecommerce websites. Source code is made available for download as well.
We can get current server path or current working directory in PHP using getcwd function. You can change current working directory using chdir function.
Short tutorial on passing reference with PHP
Even after using PHP for years, we stumble upon functions and features that we did not know about. Some of these can be very useful, yet underused. Not all of us have read the manual and the function reference from cover to cover!
This is one of the PHP/MySQL essentials, you won't come far if you don't learn how to connect to a MySQL database with PHP. Additionally you will also find out how to run SQL query to retrieve data and insert a new record into MySql database. Have fun!
Luckily Wordpress comes with a Transient API where you can cache anything including results from queries. Below is a Wordpress snippet to use next time you need to make a custom query to the Wordpress database.
Programming tutorial on how to validate emails in PHP.
Learn how to transform an array that has the values "ID" and "parent_id" into a nested array where each item can have a children array.
This tutorial describes what is functions in PHP and how to use them. One of the key features of nearly all programming languages is the ability to create reusable code that can be used on-demand. In PHP this is achieved with the creation of user-defined functions. In this article I will show you how to define and use functions in PHP.
Writing a plugin to display post views count for each post, including shortcode and template tags feature to use it anywhere.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?