PHP script works in browser but not Putty
Has anyone experienced this before? I tried posting this topic previously but it suggested if I leave links out of the post it'll post without human review. When I run "php -v" in Putty it says v4.4.9 while my hosting server I believe is 5.2, and I'm wondering if that has something to do with it. I want to run the script through Putty so I can set up a cron job. I've setup a cron job before for a different script so I believe the error does not lie there.