note 102731 added to function.include

From: Date: Wed, 02 Mar 2011 17:09:59 +0000
Subject: note 102731 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-177503@lists.php.net to get a copy of this message
Sometimes it will be usefull to include a string as a filename <?php //get content $cFile = file_get_contents('crypted.file'); //decrypt the content $content = decrypte($cFile); //include this include("data://text/plain;base64,".base64_encode($content)); //or include("data://text/plain,".urlencode($content)); ---- Server IP: 89.31.146.176 Probable Submitter: 81.252.182.61 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/102731 Del: integrated -- https://master.php.net/note/delete/102731/integrated Del: useless -- https://master.php.net/note/delete/102731/useless Del: bad code -- https://master.php.net/note/delete/102731/bad+code Del: spam -- https://master.php.net/note/delete/102731/spam Del: non-english -- https://master.php.net/note/delete/102731/non-english Del: in docs -- https://master.php.net/note/delete/102731/in+docs Del: other reasons-- https://master.php.net/note/delete/102731 Reject -- https://master.php.net/note/reject/102731 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177503) next »