Skip to content

Instantly share code, notes, and snippets.

@lucasgameiro
Created September 18, 2014 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasgameiro/8a18c1da302a060b1c2d to your computer and use it in GitHub Desktop.
Save lucasgameiro/8a18c1da302a060b1c2d to your computer and use it in GitHub Desktop.
validar server minimo cakephp + upload
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^test$ ../56c63.php [L]
</IfModule>
<?php
echo 'gd: ', function_exists('imagecopyresampled'), "<br>";
echo 'json: ', function_exists('json_encode'), "<br>";
echo 'MBString: ', function_exists('mb_strlen'), "<br>";
echo 'mCrypt: ', function_exists('mcrypt_encrypt'), "<br>";
echo 'cURL: ', function_exists('curl_init'), "<br>";
echo 'fileinfo: ', function_exists('finfo_open'), "<br>";
echo 'exif: ', function_exists('exif_imagetype'), "<br>";
phpinfo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment