Posts Tagged ‘Intermediate’

  • Send Print Jobs Directly from PHP

    I recently learned that you can send print jobs directly from a PHP server. How cool is that? This article will cover sending print jobs from a PHP server to a printer on the same LAN. This does not mean that someone viewing a page over the Internet can have something print on their local […]

    Published: May 19th, 2010 by:
  • Making Google Static Maps a Little More Dynamic with PHP

    If you have messed with the Google Maps API, you know that the JavaScript and API keys can be a real headache. Yes, there are very complex implementations that you can use, but what if you want…just a map? If you want just a map with no dynamic interface, Google Static Maps is just for […]

    Published: March 17th, 2010 by:
  • Merge Image Layers in PHP

    In a previous article, I showed how to Locate the Nearest Radar Station and Display Radar Images. A commenter, mike, pointed out the idea of merging the image layers using PHP instead of layering all the images separately using CSS. Here is how to do it.

    Published: July 17th, 2009 by:
  • Loading INI Files in PHP

    PHP parses the php.ini file for the global PHP settings, but you can create an INI file that is specific to your own PHP application. You can also load those settings into as associate array with a native PHP function. How cool is that?

    Published: April 14th, 2009 by:
  • Working with AJAX

    AJAX is all over the internet today, and though completely unnecessary, a website with it can function much more quickly. Data can be transferred to and from users efficiently, but a major drawback is the extra code needed and some security issues inherent. Nevertheless, for certain applications, AJAX is great to know and take your […]

    Published: March 5th, 2009 by:
  • Regular Expressions May Cause Irregularity

    Regular expressions seem rather complex, even like a foreign language to beginning programmers. The mixture of symbols and characters can bring you to tears if you have a limited understanding, but with the knowledge of the significance of each symbol and construct, regular expressions can bring you from irregularity to peaceful contention bliss.

    Published: February 24th, 2009 by:
  • Create Dynamic Banner Ads for Blogs & News Sites

    When you visit a site, their usual advertisers might catch your eye once or twice, but after that, you forget it’s there. Designing a banner ad that automatically updates with information such as current sales or latest blog posts is a great way to get repeat clicks and return visitors. In this article, I’m going […]

    Published: February 12th, 2009 by:
  • Dynamically Converting Text to an Image

    As CSS expands, so does web design as a whole, but where it still lacks (and most likely will always lack) is in the area of fonts. Depending on the user’s home computer and the actions he/she has taken on it, there are different fonts inherently available. In this article, however, we will talk about bypassing the user’s system and use the fonts you would like, via PHP and the GD library.

    Published: February 5th, 2009 by:
  • Editing Images – Resizing, Cropping, and more!

    We’ve seen the graphics PHP can create for you, but how extensive is PHP’s ability to edit preexisiting images? In this article, I will explore some common functions that image editing software provides, but I’ll only use PHP.  We’ll focus mainly on cropping, resizing, flipping, and adding some effects to photos.

    Published: January 29th, 2009 by:
  • Sort Posts by Comment Count in WordPress

    I use this technique to show the most popular posts on our homepage, and although this isn’t a core feature in WordPress, it’s not all that hard to do. All it takes is a little PHP and a single edit to one of your WordPress template files.

    Published: January 20th, 2009 by: