<?php
##############################################################################
##############################################################################
####################### G?n?rateur de pr?sentation #########################
############################### Version 1.5 ################################
############################ Auteur : MasterMan ############################
#################### Mail : [email protected] ######################
######################### Version du script : 1.5.3 ########################
########################### Page curl_get_mem.php ##########################
##############################################################################
##############################################################################
/* Recherche de l'extention cURL */
$config['phpextensions']=implode('</strong> <strong>',get_loaded_extensions());
$config['phpextensions']= '<strong>'.$config['phpextensions'].'</strong>';
$chars = preg_replace('#<strong>curl</strong>#is','curl', $config['phpextensions']);
$chars = preg_replace('#<strong>(.*?)</strong>#is', '', $chars);
$chars = trim($chars);
if ($chars == 'curl'){
$curl = '<font color="green"><b>Activé</b></font>';
}else{
$curl = '<font color="red"><b>Désactivé</b></font>';
}
/* Recherche de la limite de m?moire */
$m=trim(str_replace('M','',ini_get('memory_limit')));
if ($m >= 40){
$memoire = '<font color="green"><b>'.$m.'Mo</b></font>';
}else{
$memoire = '<font color="red"><b>'.$m.'Mo</b></font>';
}
/* Recherche de l'?tat allow_url_fopen pour la m?thode GET*/
if (get_cfg_var('allow_url_fopen') == '1'){
$allow_url_fopen = '<font color="green"><b>Activé</b></font>';
}else{
$allow_url_fopen = '<font color="red"><b>Désactivé</b></font>';
}
?>