Search
 
SCRIPT & CODE EXAMPLE
 

PHP

$_FILES image dimensions

$filename = $_FILES['image']['tmp_name'];
$size = getimagesize($filename);

// or

list($width, $height) = getimagesize($filename);
// USAGE:  echo $width; echo $height;
Comment

$_FILES image dimensions

if (isset($_FILES['image'])) {
    $filename = $_FILES['image']['tmp_name'];
    list($width, $height) = getimagesize($filename);
    echo $width; 
    echo $height;    
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel cors error localhost 
Php :: how to disable the plugins and theme editor 
Php :: PHP: how to "clone from" another object of same class 
Php :: show all errors in php 
Php :: php send 204 
Php :: php version 5.6 
Php :: Modificar el pie de página del panel de administración de WordPress 
Php :: refresh_ttl 
Php :: accessing class in php 
Php :: php parameters 
Php :: undefined type excel 
Php :: yii relations 
Php :: pcntl php 
Php :: use scope in statamic template 
Php :: select all matched text phpstrom 
Php :: how to get only file orginal extension in codeigniter 3 
Php :: composer install error 
Php :: remove elements to this array 
Php :: set session expire time in php 
Php :: api key for getting youtube channel videos in php 
Php :: yii form custom label 
Php :: buddypress groups dropdown 
Php :: Reference — What does this symbol mean in PHP? 
Php :: Augmenter la dimension des fichiers WP 
Php :: laravel-filemanager not working 
Php :: how to check php version in cpanel 
Php :: php pdo multiple insert 
Php :: How to programmatically grab the product description in WooCommerce? 
Php :: laravel 8 crud api example 
Php :: extract date from datetime object in php 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =