Ok, i'm going insane here. I'm very new to php so i bought Beginning PHP 4 to learn. I'm Trying to get the code from chapter 10 File and Directory Handling
to work. However if i use their code (avialable via download) all i get is the following error...
Fatal error: Cannot redeclare html_header() (previously declared in /Users/brian/Sites/php/common.inc:14) in /Users/brian/Sites/php/common.inc on line 9
as far as i can tell the thml_header() is only declared once. What am i missing? I'm a bit peeved that their code isn't in working order. There's really no excuse for that.