Re: Permissions for execution folders and files
Permissions on folders should be at 755, on files at 644 (those are the only sane settings in a shared server environment). If permissions on anything in your public_html (or www) directory are lower than those values, you should be able to set them to the correct values.
That said, the page you've linked to returns nothing, so it's difficult to tell if there are issues with the script. There are restrictions on what you can use (some PHP functions have been disabled for security reasons, some have been restricted due to abuse), but if your script is encountering problems and exiting without throwing an error, there's no way to diagnose it remotely. Is your script logging errors?
“Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
"It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)