Currently Browsing: PHP Tutorials

Custom Google Maps Marker Icons With Numbers Using PHP GD

Today we are going to learn how to use PHP GD to build a PHP server side script that can accept a local or even remote file, then bake any text we would like into the image and return it back to us as a .png. This is great for when you have the need to use custom marker icons in say Google Maps, but also would like to have numbers on the markers as well.

read more

Combat Extreme – Facebook 3D Shooter

My little brother and I have been working on this third-person shooter video game together for well over a year now, come check it out and play for free through your web browser!

read more

Realtime Image Typesetting with PHP GD

Learn how to use both JavaScript Ajax and PHP GD (graphical library) to perform real-time image typesetting onto a image. We will also cover how to use custom text colors, sizes, rotation and even fonts in our example demo.

read more

Magento Determine if Current Page is Category or Not

Sometimes you find your self in the need to determine if the current page a visitor is viewing is of a category or not. The reason for this could drastically very, but one good reason is the need for a global element not be shown on any category page.

read more

Magento Product’s Relative Parent Category Method

Today I want to quickly cover an area that I get asked about at least once a month, and that is "If a product belongs to more than one category.. how do I get the correct parent category while viewing a product through one category or the other?".

read more

How to Obtain Custom Attribute Values in Magento

Today let’s talk about Magento and custom attributes. With magento you can create as many custom attributes for your products as you like, but how does one then gather the values of a custom attribute? Here I will show you how to properly gather the value of any Magento custom attribute.

read more

Magento Custom Category Listing Block

Here I wanted to show you how to build a custom magento category listing block that you can use on your own magento store. We will go over each step at getting a category listing of your magneto categories and even a sub category listing.

read more