Changes

Jump to: navigation, search

OPS335 Lab 5

8 bytes added, 11:25, 3 March 2017
Creating a PHP Script
'''Perform the following steps:'''
#Copy the '''index.html''' file to '''index.php''' and modify it to contain: <prebr><source>Hello, this is a web page on vm1.yourid.org and the current time is <?php system("date"); ?>!</presource>
<ol><li value="2">On your host machine, again refresh your web-browser. Notice that in a web browser the ''index.php'' file isn't treated as a default page and the contents don't contain the date, but instead are displaying the text in the php code you entered into the index.php file (refer to above code).</li>
13,420
edits

Navigation menu