Cybis Wiki:Playground
From Cybis Wiki
(Difference between revisions)
(Created page with 'This is my playground! DO NOT EDIT! <runphp> echo php_version(); </runphp>') |
|||
(3 intermediate revisions by one user not shown) | |||
Line 3: | Line 3: | ||
<runphp> | <runphp> | ||
− | echo | + | 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 11: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>