예제 #1
-6
<?php

@(include "view.php");
if ($_POST) {
    if (fileUpload::upload('img', array('jpg', 'jpeg'))) {
        dbConnect::addSQL('word');
        echo "new Word added to database";
    }
}
header("refresh:1;url=index.php");
echo "";