Phone Finder

 Appendix A, PHP  Comments Off on Phone Finder
Oct 082007
 
/*
    Phone Finder
    Language: PHP
    
    Identifies the user agent and IP address and sends an email
    notification. Runs on mobile phones.

*/

Continue reading »

SMS Messenger

 Appendix A, PHP  Comments Off on SMS Messenger
Oct 082007
 
/*
    SMS messenger
    Language: PHP
    
    Sends SMS messages

*/

Continue reading »

Age Checker

 Chapter 3, PHP  Comments Off on Age Checker
Oct 072007
 
/*
	Age checker
	Language: PHP
	Expects two parameters from the HTTP request: 
		name (a text string)
		age (an integer)
		Prints a personalized greeting based on the name and age.
*/

Continue reading »

Cat on Mat

 Chapter 3, PHP  Comments Off on Cat on Mat
Oct 072007
 
/*
Cat On Mat 
 Language: PHP
 
 Expects a parameter called SensorValue, an integer. 
 Prints a custom message depending on the value of SensorValue.

*/

Continue reading »

Mail Sender

 Chapter 3, PHP  Comments Off on Mail Sender
Oct 072007
 
/*
Mail sender
Language: PHP
Expects a parameter called SensorValue, an integer. Sends an email 
if sensorValue is above a threshold value.

*/

Continue reading »

Date Printer

 Chapter 1, PHP  Comments Off on Date Printer
Oct 072007
 
/*
Date printer
Language: PHP
Prints the date and time in an HTML page.

*/

Continue reading »

Modified Date Printer

 Chapter 3, PHP  Comments Off on Modified Date Printer
Oct 072007
 
/*
	Modified Date page
	Language: PHP
	Prints the date. But no HTML.
*/

Continue reading »

Parameter Reader

 Chapter 3, PHP  Comments Off on Parameter Reader
Oct 072007
 
/*
	Parameter reader
	Language: PHP

	Prints any parameters sent in using an HTTP GET command.
*/

Continue reading »

AirNow Web Page Scraper

 Chapter 4, PHP  Comments Off on AirNow Web Page Scraper
Oct 072007
 
<?php

/*
        AIRNow Web Page Scraper
        Language: PHP
        Reads a web page and returns one line from it.
*/

Continue reading »

Hello World! in PHP

 Chapter 1, PHP  Comments Off on Hello World! in PHP
Oct 072007
 
<?php
/*
Hello World!
Language: PHP
Prints out a “Hello World!” HTML page
*/


echo "<html><head></head><body>\n";
echo "hello world!\n";
echo "</body></html>\n";
?> 
© 2012 Making Things Talk Suffusion theme by Sayontan Sinha