error_log
fileRemember that you must save your PHP files, upload them to the remote web server, open your file via an absolute URL, and do a "hard refresh" to test any changes.
Use WinSCP to connect to our remote server.
Details about your specific server, userid and password were emailed to you. Here is the general information:
ftp.sienasellbacks.com
or ftp.breimer.net
userid@sienasellbacks.com
or userid@breimer.net
Be sure to replace userid
with your actual Siena userid; But, do not add @siena.edu
make_page
deeply and why we prepare content before calling it.
make_list3.php
make_page
function no longer assumes the content will come from a separate file.
This assumption was convenient when our content was already in separate HTML files, but now consider that content will rarely
come from files. It will either come from databases or it will be generated by PHP code.make_page
function as string instead of passing the file name.
This new approach allows us to get content from files, to generate content via loops, or to do both.
make_page
function.resume
string to the content
string
and then pass the content
string to the make_page
function.make_columns
function.
content
and resume
strings
into a Bootstrap grid structure with a row and two columns.make_list
by fixing it and improving it.
make_list4.php
make_list
function to indicate which item to make active.make_list
function by adding another parameter $a and an if statement
that will add "active" to any list item whose name matches $amake_page
function so that it accepts a single content string.None. To get credit for lab you must work productively for the 2 hour period.
While it is OK to help other students with concepts and general trouble-shooting, you should not share code. It is expected that each individual project will be unique.