The purpose of this lab is to let you get some hands-on experience connecting to PostgreSQL databases through PHP.
~jillz/cs325/db on phoenix you'll find three files:
login.html, authenticate.php, and
query.php. Copy them to your public_html directory
and verify that you can access the registration database via the files you
just copied.
pg_connect() call and store it as an
additional session variable.
query.php to reflect this. Refer to
the description of stristr in the
online PHP documentation.