this is the first PHP I've written that interacts with a MySQL database. let me know of any suggestions you have!
I have a feeling this isn't going to look so hot if I paste it here, so here it is on my server:
http://thehomerow.net/~brain/update.txt .
for some reason the auth section isn't working properly. I haven't had a chance to look at it yet today and try to fix it, but hopefully I will tonight.
know what i just learned? php has a global array called $_REQUEST[] that is automatically populated with $_GET, $_POST, and $_COOKIE.
as usual, it was a silly mistake. I had the if statement testing PHP_AUTH_USER != username && PHP_AUTH_PW != password. just had to replace && with ||.
sorry i didn't reply. i took a quick glance and that looked kinda odd to me
no problem. took me all of two minutes to fix.