Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8789711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:29:08+00:00 2026-06-13T22:29:08+00:00

I got this result and i want extraction first image from folder clear just

  • 0

I got this result and i want extraction first image from folder clear just the first

Example of the result

http://i.i.com.com/cnwk.1d/i/tim/2012/07/12/Les_Horribles_Cernettes_in_1992_620x350.jpg
http://i.i.com.com/cnwk.1d/i/tim/2012/07/03/IBM-350-publicdomain_220x157.jpg
http://cbsdigitalmedia.112.2o7.net/b/ss/cbscbsnewscomatlantisuat/1/H.21--NS.png
http://dw.com.com/clear/c.gif
http://i.i.com.com/cnwk.1d/i/tim/2012/07/03/IBM-350-publicdomain_220x157.jpg
http://dw.com.com/clear/test2.gif
http://cbsdigitalmedia.112.2o7.net/b/ss/cbscbsnewscomatlantisuat/1/H.21--NS.png
http://dw.com.com/clear/test.gif

The image i want

http://dw.com.com/clear/c.gif
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:29:13+00:00Added an answer on June 13, 2026 at 10:29 pm

    OK, so I was actually quite intrigued by your question.. So I came up with a little something…

    $firstFile;
    
    //This is the array with your URL values
    $imgUrls[0] = "http://i.i.com.com/cnwk.1d/i/tim/2012/07/12/Les_Horribles_Cernettes_in_1992_620x350.jpg";
    $imgUrls[1] = "http://i.i.com.com/cnwk.1d/i/tim/2012/07/03/IBM-350-publicdomain_220x157.jpg";
    $imgUrls[2] = "http://cbsdigitalmedia.112.2o7.net/b/ss/cbscbsnewscomatlantisuat/1/H.21--NS.png";
    $imgUrls[3] = "http://dw.com.com/clear/c.gif";
    $imgUrls[4] = "http://i.i.com.com/cnwk.1d/i/tim/2012/07/03/IBM-350-publicdomain_220x157.jpg";
    $imgUrls[5] = "http://dw.com.com/clear/test2.gif";
    $imgUrls[6] = "http://cbsdigitalmedia.112.2o7.net/b/ss/cbscbsnewscomatlantisuat/1/H.21--NS.png";
    $imgUrls[7] = "http://dw.com.com/clear/test.gif";
    
    //This foreach loop goes through the array and checks the containing directory
    foreach($imgUrls as $value){
        $urlParts = explode("/",$value);
        if($urlParts[count($urlParts)-2] == "clear"){
            $firstFile = $value;
            break;
        }
    }
    
    //After setting $firstFile as the Image URL, echo it out.
    echo $firstFile;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got a result from remote database as a Result set like this: String
all i want do is change my querystring from this result/?q=Southview+Guesthouse to this: result/?q=Southview-Guesthouse.
I have got this result with the answer given by bluefeet Equipt BSL AQ
I am using SOAP , and got this returnString. <?xml version=1.0 encoding=UTF-8 ?> <result>
For the following echo 0.02-0.01-0.06+0.05; I got result is 6.93889390391E-18 For this one echo
I've got this code snippet, and I'm wondering why the results of the first
Got this code for a viewscroller from the apple developers site. @synthesize scrollView1, scrollView2;
Asking a simple question, just want everyone have fun to solve it. I got
I've got this little calculator I'm working on - http://jsfiddle.net/sturobson/reCjA/31/ I'm currently wanting it
I want to take some indices from the elements of a numpy.array. This is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.