Well thanks for the tip, lucky I kept reading and tried out your tip but I kept having the same problem, I guess its not just white space it’s anything before the PHP code must be removed and put after the code.
Insert PHP code on the first line of your document before anything else on your page hope this will make it clear for some people like me that needed more info.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Auron wrote:make sure you don't have any white space before any php code at the very top of your page where you included the script.
Auron