Hey gunnar, I noticed something I liked about your code. You put a variable $htmlprint="Content-type...."; in there and refer to it instead of typing out the whole thing you just print "$htmlprint" Kudo's. It's the simple thigs.... --- Sir Anvil www.christiangamers.org