file_put_contents und mehere flags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • file_put_contents und mehere flags

    Im manual steht zu lesen:

    FILE_APPEND and/or LOCK_EX

    wenn man Flags benutzen will. Also ich möchte FILE_APPEND und LOCK_EX nutzen aber wie?

    PHP Code:
     file_put_contents(PRIVATE_LOGFILE_FOLDER $this->sFile,$this->sData,FILE_APPEND LOCK_EX); 
    geht nicht, aber wie dann?

  • #2
    Wenn schon lesen, dann bitte richtig!

    The value of flags can be any combination of the following flags (with some restrictions), joined with the binary OR (|) operator.

    Comment


    • #3
      also ... ich äh .... out mich selber mal

      Comment

      Working...
      X