php 6 dev

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gufo Rosso

    #1

    php 6 dev

    <?php
    date_default_ti mezone_set('Eur ope/Rome');

    echo date("Y-m-d"); // ok

    include("myscri pt.php");
    ?>
    myscript.php
    <?
    echo date("Y-m-d");
    It is not safe to rely on the system's timezone settings. Please use the
    date.timezone setting, the TZ environment variable or the
    date_default_ti mezone_set() function. In case you used any of those methods
    and you are still getting this warning, you most likely misspelled the
    timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in

    is a stupid ?





  • Erwin Moller

    #2
    Re: php 6 dev

    Gufo Rosso wrote:
    <?php
    date_default_ti mezone_set('Eur ope/Rome');
    >
    echo date("Y-m-d"); // ok
    >
    include("myscri pt.php");
    ?>
    myscript.php
    <?
    echo date("Y-m-d");
    It is not safe to rely on the system's timezone settings. Please use the
    date.timezone setting, the TZ environment variable or the
    date_default_ti mezone_set() function. In case you used any of those
    methods and you are still getting this warning, you most likely misspelled
    the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead
    in
    >
    is a stupid ?
    Hi Gufo,

    What is your question?
    I cannot follow your line of thought at all. :-/
    I expect others cannot either.
    Please rephrase your question.

    Regards,
    Erwin Moller

    Comment

    • Gufo Rosso

      #3
      Re: php 6 dev


      "Erwin Moller"
      <since_humans_r ead_this_I_am_s pammed_too_much @spamyourself.c omha scritto
      nel messaggio news:44c5ffa6$0 $31640$e4fe514c @news.xs4all.nl ...
      Gufo Rosso wrote:
      >
      <?php
      date_default_ti mezone_set('Eur ope/Rome'); // set default timezone

      echo date("Y-m-d"); // ok

      include("myscri pt.php");
      ?>
      myscript.php
      <?
      echo date("Y-m-d"); <--- request set default timezone
      It is not safe to rely on the system's timezone settings. Please use the
      date.timezone setting, the TZ environment variable or the
      date_default_ti mezone_set() function. In case you used any of those
      methods and you are still getting this warning, you most likely
      misspelled
      the timezone identifier. We selected 'Europe/Paris' for '2.0/DST'
      instead
      in

      is a stupid ?
      >
      Hi Gufo,
      >
      What is your question?
      I cannot follow your line of thought at all. :-/

      in included script not "read default timezione"

      I expect others cannot either.
      Please rephrase your question.
      >
      Regards,
      Erwin Moller

      Comment

      • Carl Vondrick

        #4
        Re: php 6 dev

        in included script not "read default timezione"
        Sorry, but we still don't understand. Please try to write in valid
        English and write coherent sentences.

        Comment

        Working...