Thursday, November 18, 2010

Class 8 - Homework

Here's the link to the message board homework assignment with the image functionality: link

This ended up being really hard.  I had a hard time figuring out why some posts were not updating to the database until I read ahead to the next class and learned how to use the Sanitize.class.php function.

Also, not all image files seem to work when I try to upload them.  When I try to upload these images, I get an error that looks like this:


WTF?

Monday, November 15, 2010

Class 8 - In-class Assignments

Here's the link to class 8's assignment: link

Database portion of the in-class assignment: link

Got it to work on the first try!  Awesome.

Sunday, November 7, 2010

Class 7 – Advanced Homework Assignment

Ah. The fun that is PHP. Here's a link to the optional class 7 homework: link

This is mostly just a copy of the in-class assignment, but I'm using the require_once statement to run an alternate PHP document, _product_data2.php. This PHP document reads in the productdatafile.txt text file, which contains all the product data separated by commas.

Good stuff. And now, a cat that looks like Hitler:




Source

Saturday, November 6, 2010

Friday, November 5, 2010

Class 6 - Homework - Tic Tac Toe

It's not pretty, but it'll work: link

There at least one bug that I know about. I'll try to fix it later.

Edit: I think I fixed the bug. Should be working the way I've intended.