PHP upload file is checking for empty or null
if (!empty($_FILES['file2']) && ($_FILES['file2']['name'] != ''))
{
}
if (!empty($_FILES['file2']) && ($_FILES['file2']['name'] != ''))
{
}
1 — KISS (Keep It Simple, Stupid) Simplicity triumphs over complexity. Direct and clear codes are better for developing, maintaining, and s...
No comments:
Post a Comment