Page 1 of 1

Parsing with PHP

Posted: Sun Jan 21, 2007 10:13 am
by garry27
I'm not recieving any parser errors when I'm developing. I always thought PHP was parsed by the browser but I guess it's done at the server side becaus I've tried IE and FF and all I get is a blank screen after I've made a few changes.

Can anyone point me to an online parser or free download that validates the syntax on a PHP script?

TIA

Posted: Sun Jan 21, 2007 10:26 am
by feyd
Develop and test locally before uploading it to a server. You can adjust the error display settings more easily on a local machine then remote.

Your server may be posting the errors to the error logs.

Posted: Sun Jan 21, 2007 10:30 am
by garry27
how can i check the log files and test locally?

Posted: Sun Jan 21, 2007 10:38 am
by feyd
That would depend on your host. Talk to them about it.

You can test locally by installing PHP, a web server (like Apache), and whatever else you need.. perhaps MySQL.

Xampp is probably your best option.