Chapter
Converting Units
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How can PHP read and clean user input from standard input?
"The function fgets (short for file get string) using the keyword STDIN (Standard Input) returns, as a string, everything the user enters up to and including the enter key, interpreted as the endline
- How can PHP convert a Fahrenheit temperature to Celsius?
"To convert a temperature from degrees Fahrenheit to degrees Celsius, use the formula C = (F − 32) · 5/9. Begin with the basic PHP script shell containing the opening and closing PHP tags and comments