A10: Social network

This assignment helps you practice secure database design and website coding. You will be tasked with designing a database and simple website for a “social network.”


You are required to build a website that interacts with a database. You have two options:

Your social network must support:

You do not need to support photos, though I encourage everyone to explore how that may be done. Emoji support would be nice, too (but not required); here is a guide for adding Emoji support.

Additional requirements:


If you plan to use londo rather than your own webhost, write your code in the directory /var/www/html/cinf201fa2016/jeckroth where jeckroth is changed to your username. E.g., start the project like this:

cd /var/www/html/cinf201fa2016/myusername
nano myfile.php

After creating a file, you’ll need to run:


If you get this error:

Warning: Unknown: failed to open stream: Permission denied ...

…then you forgot to run:


Visit your website at https://londo.stetson.edu/cinf201fa2016/jeckroth/myfile.php or similar (change the username and php filename).


Do not run the submit script. I will look at your code in /var/www/html/cinf201fa2016/yourusername. I will also look at your site in my browser.

CINF 201 material by Joshua Eckroth is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Source code for this website available at GitHub.