| Written Feb 2011 by Will Johnson, email me at email@example.com |
or post your comments for public view far below.
Creative Commons Attribution 3.0 License
My twenty five years of computer programming experience has been entirely on systems which are not online systems. Systems which run businesses in the back office doing invoicing, sales orders, inventory, accounts receivable, etc. I've written many accounting programs. This experience is perhaps a bit old school in the brave new world, and the internet reader can't see my work. So to compete in the Web 2.0 world in which we live, I'm sticking my toe into the web waters. I hope there are no piranhas.
If you are one of the intelligent business people (as opposed to morons), who say to yourself "Self, we do need a guy who can program our accounting and inventory systems, and we're smart enough not to stupidly ask to see what he's done *online*", then hire me. I'm cheap and easy.
All of the below scripts were written by me. I'm interested in hearing about new opportunities,
full time permanent, or contract.
full time permanent, or contract.
PHP Tutorial - Six lessons and counting. Let your web readers email you a filled-in form! Write a simple guestbook!
- PHP: Lesson 1 "Hello World"
- PHP: Lesson 2 Variables and Assignment
- PHP: Lesson 3 Forms
- PHP: Lesson 4 Grab a Web Page into PHP
- PHP: Lesson 5 Send Email using a PHP Script
- PHP: Lesson 6 Simple Guestbook using PHP
Parsing Knol's Search Toolkit Results - How to return the Knol Search Toolkit results page, into a PHP and parse the values into a array or a new HTML table for further manipulation or display. At the end I give a link to a PHP script I wrote which will use these details to grab my knols by pageviews, and return them in an HTML table, as an example. There is also a script to grab my knols by creation date, for the purpose of seeing if anything I've written has suddenly "taken off".
Calendar with browsing and jumping - Another calender which will start on this month, but you can either browse forwards or backwards, or jump directly to some other month and year. The code is at this link.
WebForm with text file logging of user input - Only the sales registration form is working today. I should have the other one working in a few days. You enter the data, click submit. It records answers in a log file, one line per submission. If the logfile doesn't exist it will create it. By the way, if the folder that the logfile is in, is not owned by the apache user, you probably won't be able to create the logfile at all. In that case, you have to set the folder to permission 777.
Members Site - Force Registration - This form and PHP script will require a user register or login with their password (if already registered) and then take them to a members area. The information is written to a file in order to validate against future login attempts.
Cloud Programming - Add two numbers together - Simple example of cloud programming. Two numbers can be pushed in from a previous POST (the fields are "number1" and "number2") or entered on this form. This PHP will add the two numbers and display the result.
Using PHP to help parse any file - Parse a datafile, see what's hiding under the hood by showing all the hidden characters.
Populate a template with form entered reponses - Here I'm passing the user's entries from an HTML form to a PHP script, which opens this tagged-filled text file, and replaces the tags with the form answers.
Take Amazon's Top Ten Best Sellers in Books today - Parse the results and redisplay in a new table format.
A simple form with a Sendmail function in PHP
Example of adding Adsense to a WikiMedia install - Look in the lower left corner and you will see Adsense appearing. Adsense cannot normally appear in WikiMedia at all. I had to read through the PHP code and determine where to stick the Adsense code in order for this to happen.
Wiktionize Me - Enter some text and it will return each word linked to it's Wiktionary definition page.
PHP project to find exposed E-mail addresses - Task: Write a PHP script that will use a Form response to execute a Google search, returning the page contents into a variable in PHP. Then Parse the page contents extracting the top-level URLS. Visit each of these URLs and hunt for any exposed E-mail addresses.[Edit]