maybe your php code is not working at this moment.
1) if you can see your php code, it seems your php engine is not working. if your file is with extension .html, you need to parse it run .html as same as run .php.
you need set up your web server to run .php.
if your php file is working and you can see the codes, that is a big security problem. anyone in this forum will be interested how could that happen.
2) my guess is that you got "chinese" codes is that your php include file is not working. so the header information was not included. and due to header is not there, your page may miss the encode information in the header and give you "chinese" characters. by the way, i am pretty sure it is not chinese or japanese. otherwise, i can translat them for you.
hui
Jason wrote:
Ok, this is my first script, that I coded from scratch. Now whats wrong is when i try to use include("header.inc"); for my header instead of having the actual html on each page, I get what looks like chinese or japanese letters/words and some dots where the php is supposed to be, the header html shows up but then my php is all chinese. but when i do use the html for my header directly in the file i was calling the header.inc from, it works.. what am i doing wrong?
www.jpw383.com/dabox
Jason