Re: [PHP] Impossible bug! (fwd)

2003-06-26 Thread Andy Fiddaman
You never set *_color back to 0 at any point, so the first time through the loop it gets set to 1 and stays there. Replace you lines like: ; if($a_percent > $num) { $a_color = 1; } with: $a_color = $a_percent > $num; On Thu, 26 Jun 2003, John Wulff wrote: ; Where the heck is

Re: [PHP] ErrorDocument doesn't work for PHP scripts

2003-06-20 Thread Andy Fiddaman
: ErrorDocument 404 http://www.jeamland.org/_error.html Yep, it does seem to work if I put the whole URL in the ErrorDocument directive rather than just /_error.html ! Unfortunately, that makes the web server snd a redirect which isn't exactly what I want (unless you know of a way to get at the or