Cybis Wiki:Playground

From Cybis Wiki
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
<runphp>
 
<runphp>
  
echo phpversion();
+
function print_var($name, $value) {
 +
echo $name.' = '.$value.'<br />';
 +
}
 +
 
 +
print_var('version', phpversion());
 +
print_var('upload', ini_get('upload_max_filesize'));
 +
 
 +
 
 +
echo ini_get('post_max_size');
 +
echo '<br />';
 +
echo ini_get('upload_max_filesize');
 +
echo '<br />';
 +
echo ini_get('max_execution_time');
  
 
</runphp>
 
</runphp>

Latest revision as of 12:35, 21 May 2009

This is my playground! DO NOT EDIT!

<runphp>

function print_var($name, $value) { echo $name.' = '.$value.'
'; }

print_var('version', phpversion()); print_var('upload', ini_get('upload_max_filesize'));


echo ini_get('post_max_size'); echo '
'; echo ini_get('upload_max_filesize'); echo '
'; echo ini_get('max_execution_time');

</runphp>

Personal tools