Open main menu

CDOT Wiki β

Changes

OPS335 Lab 5

59 bytes added, 15:49, 29 March 2016
no edit summary
<ol><li value="6">If you refresh the page in Firefox - you should see the contents of your index.html. If you like - you can specify the filename index.html in the address but there's no need since it's a default.</li><li>It may seem obvious - but notice that the time doesn't change as you refresh the page.</li></ol>
=== Creating a PHP File ===
We'll replace our '''index.html''' file with an '''index.php''' with the following contents:
Refresh the page, notice that you now see the date instead of the call to the date command. This is a trivial example of dynamic web content - it doesn't need to be the same every time you look at it.
=== Install, Configure and Run MySQL Database Server ===
MySQL is used to allow storage and retrieval of structured data. SQL is used by countless services for all kinds of use cases. Again we won't spend much time learning the details of MySQL configuration but you need a basic server set up. You may remember setting up MySQL from OPS235 - we're doing the nearly identical thing here.
13,420
edits