PHP script only works in browser want to work outside browser

Job ID: 33312499

Budget: $10 – $30 USD

I have a PHP script but it only works in a browser I'm assuming this is because of user agent. I want to be able to run the script via cron without having to have the browser open.

It's only two php files I can't figure out how to fix it
Related categories: PHP JavaScript Linux MySQL Database Administration