note 102674 added to function.file-put-contents

[email protected] Mon, 28 Feb 2011 04:19:51 -0800
Newsgroups php.notes
Message-ID <[email protected]>
To add to the post about PHP4 emulation of file_put_contents function below:
kola_lola at hotmail dot com 06-Nov-2008 11:31
http://php.net/manual/en/function.file-put-contents.php#86864

It is important to place that code BEFORE the function file_put_contents is called in your script, since otherwise it doesn't work. If condition hasn't been checked, your function is not read by PHP yet.

kola_lola, thank you for your code!
----
Server IP: 78.41.109.9
Probable Submitter: 46.41.67.145
----
Manual Page -- http://www.php.net/manual/en/function.file-put-contents.php
Edit        -- https://master.php.net/note/edit/102674
Del: integrated  -- https://master.php.net/note/delete/102674/integrated
Del: useless     -- https://master.php.net/note/delete/102674/useless
Del: bad code    -- https://master.php.net/note/delete/102674/bad+code
Del: spam        -- https://master.php.net/note/delete/102674/spam
Del: non-english -- https://master.php.net/note/delete/102674/non-english
Del: in docs     -- https://master.php.net/note/delete/102674/in+docs
Del: other reasons-- https://master.php.net/note/delete/102674
Reject      -- https://master.php.net/note/reject/102674
Search      -- https://master.php.net/manage/user-notes.php