Parse Errors

Parse errors are caused by not using the correct syntax in the PHP code. This usually happens as a result of editing the script and making a mistake, like missing out a quote mark. Check that you have edited the script correctly. The instructions in the script, tell you what to do.

Here's an example of a line of code that will give you a parse error:

$default_extension = ".com;

It should be:

$default_extension = ".com";

Note the missing quote mark in the bad line.

You will also get a parse error if the PHP code has become corrupted. This can occur when opening and editing the script in a text editor that adds formatting or uses the wrong encoding. Always edit the script in a plain text editor, Notepad for example. If you think your file is corrupt, you can download a fresh one from the "Download" link above.