pendexgabo Posted May 1, 2008 Share Posted May 1, 2008 hi all, i having some issues with a script cron... but when a run the script through firefox runs ok. i figured out this in the command line i do : php -r "echo sin(46);" 0,901788347649 (with comma) and then mysql breaks the query... but in the firefox <? echo sin(46); ?> prints 0.901788347649 (with dot) and the mysql query runs ok any idea why php cli change the dot for a comma. there is some config in the php.ini ?? saludos Link to comment https://forums.phpfreaks.com/topic/103730-different-results-betwen-php-cli-apache-module-on-sin-function/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.