• Home
  • Contact theMaab
  • September 3, 2010

theMaablog

making sense of web design

  • PHP Scripts & Functions

Simple Adsense Snippets Generator PHP Function

July 17, 2006 by theMaab Leave a Comment

This simple PHP function should make it a little easier to manage your AdSense code snippets for your site. When this function is called, it will display 'Content' or 'Referral' type AdSense banner of choice. The type, width, height and CPA choice is passed when the function is called. The colors used for the ads …
[Read more...]

Filed Under: AdSense, PHP, PHP Functions

How To Create an RSS Aggregator with PHP and AJAX

July 15, 2006 by theMaab Leave a Comment

Over on Informit.com is a great article I found that shows step-by-step how to create an RSS Aggregator with PHP and AJAX. This seems like a great tutorial to get you started on AJAX, since it covers GET and POST to PHP via JavaScript, which is what's required for AJAX. It follows with a section on parsing the data returned. How …
[Read more...]

Filed Under: AJAX, Guides & Tutorials, PHP, RSS

Simple "Translate this Page" PHP Function

July 15, 2006 by theMaab Leave a Comment
Simple Translate this Page PHP Function

Here is a simple PHP function I created that will generate a set of links to "Translate this Page". Currently the script translates from English to Arabic, German, French, Spanish, Italian or Japanese using Google Language Tools page translator. I have added the option for the function to create "Translate this Page to" …
[Read more...]

Filed Under: PHP, PHP Functions

Web Development Cheat Sheets, Must Haves

June 25, 2005 by theMaab 2 Comments

Today I found a site that offers great web development cheat sheets! There is MySQL, mod_rewrite, CSS, PHP and RGB Hex color chart. All great to have, I hope to print them out on the nice color laserjet at work! I know the MySQL one will be helpful for reminding me the MySQL data types, the PHP one will be great …
[Read more...]

Filed Under: CSS, Graphic Design, MySQL, PHP, Web Development

New Lines to Paragraphs PHP Function

May 25, 2005 by theMaab Leave a Comment

This is a great php function, written by Matthew Mullenweg, that will format text that has been pulled from a MySQL database so that it is displayed with HTML paragraph tags. The function will replace new lines/carriage returns or even HTML line breaks with the paragraph tags, within the given string. I have used …
[Read more...]

Filed Under: CSS, MySQL, PHP, Web Development
Next Page »

Friends' Websites

  • 21 Funk Street
  • Benny Cornett
  • BoneSoft
  • Buster Collings
  • Double Danger
  • This Side of Dead

Some of My Reads

  • Digital Media Minute
  • The Braindonor Network

My Websites

  • Chemistry Dictionary
  • Homes for sale in Midland
  • Oilfield Pros
  • ProperPint.com
  • Real Estate Dictionary
  • Website Design in Midland TX
  • Wrap DB

Translator

Return to top of page

Copyright © 2010 · Delicious Theme on Genesis Theme Framework · WordPress · Log in