Search
 
SCRIPT & CODE EXAMPLE
 

PHP

where is phpinfo()


A simple method to style your own phpinfo() output.

<style type="text/css">
#phpinfo {}
#phpinfo pre {}
#phpinfo a:link {}
#phpinfo a:hover {}
#phpinfo table {}
#phpinfo .center {}
#phpinfo .center table {}
#phpinfo .center th {}
#phpinfo td, th {}
#phpinfo h1 {}
#phpinfo h2 {}
#phpinfo .p {}
#phpinfo .e {}
#phpinfo .h {}
#phpinfo .v {}
#phpinfo .vr {}
#phpinfo img {}
#phpinfo hr {}
</style>

<div id="phpinfo">
<?php

ob_start () ;
phpinfo () ;
$pinfo = ob_get_contents () ;
ob_end_clean () ;

// the name attribute "module_Zend Optimizer" of an anker-tag is not xhtml valide, so replace it with "module_Zend_Optimizer"
echo ( str_replace ( "module_Zend Optimizer", "module_Zend_Optimizer", preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo ) ) ) ;

?>
</div>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel fetch max value 
Php :: declare empty array in php 
Php :: woocommerce after order been placed hook 
Php :: php using composer autoload - own code 
Php :: show woocommerce product variation in table php 
Php :: laravel form 
Php :: wp_list_pluck 
Php :: how to make arrays in php 
Php :: associate laravel 
Php :: create migration with model laravel 
Php :: strict types php 
Php :: replace exact word in php 
Php :: static php 
Php :: shortcode in wp 
Php :: cakephp 4 change layout view in a method 
Php :: enqueue css 
Php :: Change WordPress Login Logo Url 
Php :: cors error angular php 
Php :: __invoke in laravel 
Php :: laravel get route parameters in blade value 
Php :: use php var in js 
Php :: laravel validation not equal to 
Php :: upload images php mysql 
Php :: laravel upload file to aws s3 
Php :: laravel make password 
Php :: file_get_content 
Php :: php build query from array 
Php :: Add Text Before the Product Title 
Php :: worpdress pods taxonomy get custom field 
Php :: php artisan add row in table 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =