I am using " list($width, $height, $type, $attr) = getimagesize($dir . '/' . $file); " to get the image diminsions. Then I do an $width check. "if ($width > 1024) {$err[$seq][] = 'Image Width is larger than 1024 pixels wide.';}". … Continue reading
I am using " list($width, $height, $type, $attr) = getimagesize($dir . '/' . $file); " to get the image diminsions. Then I do an $width check. "if ($width > 1024) {$err[$seq][] = 'Image Width is larger than 1024 pixels wide.';}". … Continue reading
I use the Facebook API on my website to allow users to comment on different pages. This is how to get the comments count for a specific page: <fb:comments-count href='LINK_TO_PAGE'></fb:comments-count> I want to store this value into a MySQL database, … Continue reading
I am trying to have a PHP script validate a file type being uploaded, it works for others but not Quicktime .mov files. What is the correct MIME type for Quicktime .mov files. <?php if ((($_FILES["file"]["type"] == "video/mpeg") || ($_FILES["file"]["type"] … Continue reading
Hello, Can you please post a tutorial for Facebook comments in an external website! Thanks!