note 106315 added to function.file-put-contents

From: Date: Thu, 27 Oct 2011 08:56:43 +0000
Subject: note 106315 added to function.file-put-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-184159@lists.php.net to get a copy of this message
I had some troubles using file_put_contents with an absolute but no canonicalized path (eg. w:/htdocs/pri/../test/log.txt): on windows environment php was unable to create the file also using the realpath function . I had to use fopen and frwite functions to write the data. ---- Server IP: 69.147.83.197 Probable Submitter: 95.225.247.155 ---- Manual Page -- http://www.php.net/manual/en/function.file-put-contents.php Edit -- https://master.php.net/note/edit/106315 Del: integrated -- https://master.php.net/note/delete/106315/integrated Del: useless -- https://master.php.net/note/delete/106315/useless Del: bad code -- https://master.php.net/note/delete/106315/bad+code Del: spam -- https://master.php.net/note/delete/106315/spam Del: non-english -- https://master.php.net/note/delete/106315/non-english Del: in docs -- https://master.php.net/note/delete/106315/in+docs Del: other reasons-- https://master.php.net/note/delete/106315 Reject -- https://master.php.net/note/reject/106315 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184159) next »