OK,
I think its safe to assume that outputting a graphic is outputting to a browser. (looks for embarrased emoticon) I assumed that it just meant you couldnt output anything in the PHP code before the header line.
Which brings me to my next problem.
If I have a signin page, and I want to have it go to errorPage if signin fails or signin2.php if it succeeds, which page should I use in the Form Action? I set the form action to the error page and I was trying to have it redirect to signin2.php if login was ok.
if ($pass != 1){
echo "Sorry, that password did not match.<br>
$please";}
else{
header("Location: [url]http://www.mysite.com/signin2.php[/url]");
exit();
so that if login failed it would give an error and if login was ok it would redirect them to the signin2 page.
What are my options?
Thanks again.