Stamp Peter

7
Oct/10
0
Account limit of 2000 requests per hour exceeded.

Whats wrong with this PHP script? Can you make it work?

The script is just too big to put here so heres the link with it on:
http://www.litewebsite.com/?c=19
click the "View Code" button on that page.

I cant get the script to work it says:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/a/n/manage23/html/stamp.php on line 13

Reply here or if too big reply to: surfmetal112@hotmail.com

Have a look at it, i cant see whats wrong but there must be something.

Thanks Peter.

Hey peter, not seeing anything wrong with the code. Is the link the code that is in YOUR file or is it where you copied it from?

Also, it looks from your path in the parse error that you may be using godaddy as your host. If so, then the problem isn't with the code its with the file extension. By default, godaddy accounts parse ".php" files as PHP4 and the private visibility declaration wasn't added until PHP5. The fix for this is one of two things.
A) The easy way: rename the file from ".php" to ".php5"
2) The slightly more complicated way: upload a .htaccess file to tell the server to parse ".php" files in PHP5 and only parse for PHP4 for ".php4" files.
More info on how to do 2) here:
http://help.godaddy.com/article.php?article_id=1082&prog_id=GoDaddy&isc=

If you need any help or assistance with two after reading the help link, if this indeed the issue, you can email me through my profile. :)
good luck