Parsing with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
garry27
Forum Commoner
Posts: 90
Joined: Sat Oct 14, 2006 1:50 pm

Parsing with PHP

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
garry27
Forum Commoner
Posts: 90
Joined: Sat Oct 14, 2006 1:50 pm

Post by garry27 »

how can i check the log files and test locally?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply