I was trying to develop a small application for Twitter API when I was faced with a very odd error by Twitter. Apparently, nowadays Twitter API does not like some of the cURL querying without the proper headers. Here's how you can fix that.
BB Code Geshi Filter for Code Syntax Highlighting on programming forums, is designed for MyBB Forum 1.4+ (a free forum software).
Have you ever seen an image that counts down a date, a signature that displays game ratings, or a little avatar that tells you what browser you are using? These are all examples of dynamic images, usually created with PHP.
In this tutorial, I will be explaining how this is done in PHP, and providing several working code examples.
CURL, is an extension built by Daniel Stenberg that allows you to send POST/GET messages with PHP. In this tutorial we will discuss the POST method. CURL can be used to take care of problems like APIs and credit card payment processing. Things like Google API or Yahoo API can also be used this way. It's very simple and all you have to do, is have a recent version of PHP.
Password security is an important subject in the web today. Many passwords are cracked and hacked everyday especially with popular sites such as myspace that have a constant account stealing problem. Some don't understand what makes a password secure and what doesn't. Some believe it is harder to remember so they prefer short passwords.
Scope can be a confusing concept for many beginners in PHP. The idea is that some variables and functions are invisible to each other in certain circumstances of code.