Not Reviewed
Show More
Add another comment
| @@ -42,7 +42,6 if( $_POST ) { | |||||
|
|
42 | $imagedata = getimagesize($_FILES['comicFile']['tmp_name']); |
|
42 | $imagedata = getimagesize($_FILES['comicFile']['tmp_name']); |
|
|
43 | $strip->media = $imagedata[2]; |
|
43 | $strip->media = $imagedata[2]; |
|
|
44 | $fileext = $dbConnection->fetchColumn('SELECT extension FROM media_t WHERE id = ?', array($strip->media), 0, array(PDO::PARAM_INT)); |
|
44 | $fileext = $dbConnection->fetchColumn('SELECT extension FROM media_t WHERE id = ?', array($strip->media), 0, array(PDO::PARAM_INT)); |
|
|
45 | var_dump($fileext); |
|
||
|
|
46 |
|
45 | ||
|
|
47 | if(strlen($fileext) < 3) |
|
46 | if(strlen($fileext) < 3) |
|
|
48 | { |
|
47 | { |
Comments 0
You need to be logged in to leave comments.
Login now
