Web Analytics Made Easy -
StatCounter Checking if jpeg image exists on remote server - CodingForum

Announcement

Collapse
No announcement yet.

Checking if jpeg image exists on remote server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Checking if jpeg image exists on remote server

    Hi guys,

    I need to check if a jpeg file exists on a remote server. How would I do that? I have tried the url_exists functions in PHP manual but with no luck...
    PHP 5 & MySQL 5 (Y)

  • #2
    Would fopen() work for you?
    Music Around The World - Collecting tips, trade and want lists, album reviews, & more

    Comment


    • #3
      You can use file_exists() if you're PHP5+ and have allow_url_fopen...

      Comment

      Working...
      X