I'm calling the following functions to get the current date and year:
$mes = date("m");
$ano = date("Y");
This works when I'm in localhost
, but when I upload the application to the server I do not get any information from those methods. I'm using PHP 5.3.
Any suggestions on how to make this information appear?