Answers for "php get content phpinfo without show"

PHP
1

php get content phpinfo without show

<?php
ob_start();
@phpinfo();
$content = ob_get_contents();
ob_end_clean();

//you get all the info in $content, but the user never see the data
Posted by: Guest on February-24-2021

Browse Popular Code Answers by Language