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
Monthly Archives: October 2008
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/
First Adventure in PHP
Yet another post for my Web Programming class. We have started to dabble with PHP so I have added a hit counter to Milton's home page as well as a date stamp. Other changes have been made too but you can't see them 😛 Check it out: http://oz.plymouth.edu/~mpbedard/webprog/using_php/
Even More CSS fun!
For this assignment we had to use a yahoo css template to make our website even prettier. This would have been easier if the template actually validated. But it's all good now. The only problem is that the tag that I used to make the iPhone CSS work is not recognized by the validator. But I'm leaving it in there since this is how Apple tells you to do it. Check it out and let me know what you think! http://oz.plymouth.edu/~mpbedard/webprog/css_action2/index.html