Hi there,
I have a php file file.php
and when I access it via the web, it works just fine and injects db entries.
However,
if I issue the command
php file.php I don't see any output and it doesn't seem to be doing the database items.
Is there a way to run this script from command line? (specifically I am trying to run it via a cron job with the php command ...... if I use wget it works correctly)
Many thanks!
I have a php file file.php
and when I access it via the web, it works just fine and injects db entries.
However,
if I issue the command
php file.php I don't see any output and it doesn't seem to be doing the database items.
Is there a way to run this script from command line? (specifically I am trying to run it via a cron job with the php command ...... if I use wget it works correctly)
Many thanks!