Warning: Invalid argument supplied for foreach() in /home/techrecipes/public_html/wp-content/themes/techrecipes/header.php on line 77
The ‘PHP programming’ Archives
Posted April 21, 2013 by

PHP: Get Form Data via POST and GET

php-featured

In many applications you will need to retrieve user entered data from a form of some sort, here are a few methods of doing so with PHP.

Category PHP programming

Posted April 11, 2013 by

PHP: Find Length and Word Count of String

featured-mac

It’s important to understand PHP’s numerous built in functions for manipulating strings if you ever want to be efficient with the language. Here are two really important ones.

Category PHP programming

Posted April 8, 2013 by

PHP: Create an Array

php-featured

Learn how to store multiple values in one variable via an array, with PHP

Category PHP programming

Posted December 13, 2012 by

PHP Syntax: Three Ways to Create Comments

example of block comments in php

PHP allows three different methods of formatting comments. All of these sytax examples will seem familiar to programmers of other languages.

Category PHP programming

Posted September 23, 2012 by

Install Pear on Windows 7 64x using WAMP

pear-featured

Learn how to set up PEAR in a Windows 7 environment using WAMP. We go around a Windows 7 64x WAMP issue and make it work!

Category PHP programming

Posted July 20, 2012 by

Display the Date with PHP

php-featured

Learn how to put a little kick in your static website and display the date via PHP – it’s very simple and easy to customize.

Category PHP programming

Posted February 12, 2012 by

php: Separate Spaced Words within a String

Frequently, coders find they need to split a string into its separate words. If these words are separated by spaces, then the command options are simple.

Category PHP programming

Posted March 19, 2010 by

PHP: Camel Case to Spaces or Underscore

Recently while working on a project, I found I needed to convert camelcase strings to space-separated strings. This same technique will work if you want to convert camelcase to underscore separation as well.

Category PHP programming

Posted February 12, 2009 by

Pear Fix for “Error: Unable to Unpack”

Recently while trying to install some Pear packages, I received an odd “Error: Unable to Unpack” message. A search for this error message found a lot of complaining people and not a lot of answers. I finally figured out the cause and the fix for this common Pear problem.

Category PHP programming

Posted September 30, 2008 by

PHP: Upload Files to the Server

With PHP, it is simple to upload any file to your server.

Category PHP programming