how can i get the size of an image that not on my server using this command imagesx  ?

Posted on 2008-11-07
Last Modified: 2012-05-05
how can i get the size of an image that not on my server using this command imagesx  ?
Question by:mgtm3
    LVL 39

    Accepted Solution

    Why do you have to use imagesx? That would require that you first load the image into php, using for instance imagecreatefromjpeg(), if it is a jpeg. It's easier to use getimagesize():
    LVL 13

    Assisted Solution

    Use the example code from the provided link.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now