<?php
$name = $argv[1];
echo 'Hello, ' . $name . ".";
?>

Or you can do it with an HTML form.

1st file:

<html>