Page 2 of 2

Posted: Tue May 29, 2007 2:13 pm
by m2babaey
thanks.
Visitors can't see PHP code. No worries. If you want to hide errors, turn them off (which I'm sure you'll do when the site is live, right?)
yes they don't see it but how about the time something is wrong especially with the server?
for example save a php file on your own computer on desktop and open it with IE. ( or Firefox is better). i guess you'll see the code only. not the executed result
by the way, how to turn off errors?
did you mean using cpanel or a code?

Posted: Tue May 29, 2007 2:32 pm
by feyd
Saving the results shown in the browser will only get them the generated HTML, nothing more.

As for turning off errors, .htaccess often has the ability to do it.