This is my code to test for MySQL:
if (extension_loaded('mysqlnd')) {
echo "mysql supported";
} else {
echo "mysql not supported";
};
How can I check to see if uploads are allowed?
if(ini_get('file_uploads') == 1)
{
echo 'HTTP Upload Enabled';
}
else
{
echo 'HTTP Upload Disabled';
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With