logo

Blog

Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0)

Mar 25, 2011 PhoneGap, PHP

I recently started looking at PhoneGap as a way to build native smartphone applications without having to learn another programming language. The process, so far, has been going very well. I’ve been able to build a basic application with very little trouble. I did, however, hit a big hiccup in development when I decided to try and upload a file from a phone to a remote location. In this post, I want to explain how I was able to upload a photo from a phone, using PhoneGap (and PHP on the remote server), to a remote server.

Parse PHP in HTML Pages on GoDaddy Hosting

May 12, 2010 Apache, PHP

Sometimes it is helpful, mainly to avoid broken links, to make sure your html files (with a .htm or .html extension) can parse PHP. On GoDaddy hosting, this threw me for a loop.

A Better PHP Upload and Rename Script

Mar 15, 2010 PHP

An earlier post of mine provides a fairly good example of a PHP script that renames a file as you upload it to a server. In this post, I’ve decided to take another look at that type of script and make it easier to use. I’m going to break the code you’ll need into two parts: the HTML and the PHP.

Build a Basic Authorize.net Payment Form

Dec 19, 2009 PHP

Getting a payment form that works can be tricky. But once you figure it out, you have the form as a reference forever. I’d like to show you how to build a basic Authorize.net payment form using HTML and PHP. Luckily, Authorize.net does a very good job providing documentation to web developers, making this form creation process very easy.

Parse Yahoo Weather Data XML with PHP

May 14, 2009 PHP

I’ve looked at parsing weather data with PHP before, but I’ve found that using Yahoo’s weather service it more stable and flexible. Luckily PHP has some excellent built in functions to parse complex XML.