5th PHP lab (aka Fun With Cookies)

For this lab I actually did quite a bit of work on the site. Though it may not look like it. I know the design is terrible. Deal with it 😛 Anyways, now every page has an intelligent counter that does not require any changes whenever a new page is made that includes the header. This makes things much easier for me to update. There is also a basic member's area. Check it out: http://oz.plymouth.edu/~mpbedard/webprog/using_php5/index.html

Fun with Forms!

Lab this week was actually kind of fun. I keep looking forward to each lab because it lets me learn something that will probably be useful in the long run. This one especially. The site now has a member registration form. You can sign up and view who else has signed up. I wish I had more time to make the CSS prettier and eventually I have to re-think the navigation because it is starting to get ridiculous. Anyways, Check it out here: http://oz.plymouth.edu/~mpbedard/webprog/using_php4/index.html

PHP Site Statistics

This Lab assignment required us to make a statistics page for out site that keeps track of the number of hits to each page of the site. I even used the google chart API to make a spiffy bar graph. Unfortunately the URL for the image does not pass validation and I don't know why. But since there is nothing else wrong with my XHTML I'm leaving it in. Check it out: http://oz.plymouth.edu/~mpbedard/webprog/using_php3/

PHP Parsing and a new album

For our Web Programming lab this week we had to write a php script that would parse through an apache log file and print a summary of the root directory requests. The instructor told us that he would give us extra points if we did it with regular expressions. So, of course I did. 🙂
Check it out here: http://oz.plymouth.edu/~mpbedard/webprog/php_parse/log.php

We also had to use some php to add a better image gallery to our super hero website. I did not go too crazy with this one but here it is:
http://oz.plymouth.edu/~mpbedard/webprog/using_php2/