note 128042 added to function.phpinfo

From: Date: Fri, 23 Dec 2022 00:46:04 +0000
Subject: note 128042 added to function.phpinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-219998@lists.php.net to get a copy of this message
Simple JS snippet to print phpinfo() inline with it's styles renamed. Thus leaving the container page unaffected and pretty. <script> document.write(<div id="phpinfo"><?php phpinfo(61) ?></div>); var x = document.querySelector('#phpinfo > style'); x.innerText = x.innerText.replaceAll('\n', '#phpinfo '); </script> ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.175 (proxied: 86.5.228.40) ---- Manual Page -- https://php.net/manual/en/function.phpinfo.php Edit -- https://main.php.net/note/edit/128042 Del: integrated -- https://main.php.net/note/delete/128042/integrated Del: useless -- https://main.php.net/note/delete/128042/useless Del: bad code -- https://main.php.net/note/delete/128042/bad+code Del: spam -- https://main.php.net/note/delete/128042/spam Del: non-english -- https://main.php.net/note/delete/128042/non-english Del: in docs -- https://main.php.net/note/delete/128042/in+docs Del: other reasons-- https://main.php.net/note/delete/128042 Reject -- https://main.php.net/note/reject/128042 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219998) next »