How to use PHP to get the URL address after image jump

Source: Internet
Author: User
How can I use PHP to obtain the URL address after image jump? I used an API to obtain the original image address. Do you have any way to simulate a browser to obtain the URL address after the image jumps? (You can copy and paste the original address, and then view the browser jump information) CURL? Or what other methods? Thank you. Original address: twitpic. comshowthumb76qpod (obtained by API) how to use PHP to get the URL address after image jump?
I used an API to obtain the original image address. Do you have any way to simulate a browser to obtain the URL address after the image jumps? (You can copy and paste the original address, and then view the browser jump information) CURL? Or what other methods? Thank you.


Original address: http://twitpic.com/show/thumb/76qpod (obtained by API)
Address after jump: http://s1-04.twitpicproxy.com/photos/thumb/434587261.jpg (the address I want to get)


------ Solution --------------------
How can we do this? Curl can directly set the allowed jump, and then get the address after the jump. of course, there is no actual test, just a reply based on similar situations in the past. I cannot open your address.
Discussion

Reference:

Curl is acceptable


How can this problem be achieved? The instance cannot be found.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.