Writing text on your images using GD is a handy ability to have. Maybe you are developing an imagehost or you have a project where you need to place text on an existing image. Whatever the reason here is how it’s done.
This is a little bit of a niche post, but it’s all about a problem I had recently with my site. It was all to do with WordPress and how it responded when running under PHP as FastCGI instead of CGI.
There are lots of websites hosted on shared hosting in this age, and the majority are probably running WordPress. While it’s a great application once set up with plugins it isn’t the lightest one on the block. Here we are going to look at making WordPress as shared server friendly as possible.
Today we are going back to basics with a small tutorial on how to use the PHP switch statement. They can be extremely useful, but knowing how to use them properly can save you a lot of time.
As a developer cURL can be a very handy for numerous reasons. In my case I have used it for my plugin Twitter Stream, but here we are going to look at a little tip I stumbled across while playing with cURL.
Today’s latest & greatest PHP based applications generally have some sort of mass media upload system integrated with them. Sometimes though you get error after error when using these new mass uploaders. Here is one way that may fix them.
When writing a PHP application it’s very important to give out nice friendly error messages to anyone using the application. The problem? You don’t get any detailed error information. To help we can add file logging to log the detailed error information.
Continuing on from the last post which covered the basics of connecting to a database using MySQLi, we are going to look at inserting, updating & deleting data. Finally we are going to look at some of the miscellaneous features of MySQLi.
Learning how to connect to a MySQLi database is pretty much an essential part of learning PHP in today’s database heavy web development scene. Here is a small tutorial to teach just how it’s done.
XML is used for all types of thing, one of the most commonly known is for RSS feeds. Using PHP & SimpleXML you can parse that feed or any XML file to grab the data and manipulate it however you want. Here’s how it’s done.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Recent Comments