note 57756 deleted from function.getimagesize by cmb

From: Date: Sun, 18 Dec 2016 09:37:53 +0000
Subject: note 57756 deleted from function.getimagesize by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208624@lists.php.net to get a copy of this message
Note Submitter: Mark at Mild Peril ---- To solve the problem with using absolute site filepaths, as experienced by Brian: $size = getimagesize($_SERVER["DOCUMENT_ROOT"].$file); (where $file is something like "/rootdir/graphics/photo.jpg")

« previous php.notes (#208624) next »