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 8028675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:11:57+00:00 2026-06-05T00:11:57+00:00

How do I go about programmatically use PHP to access a secure site of

  • 0

How do I go about programmatically use PHP to access a secure site of a website and pull an image?
There is a website that I can login with my username/password. Once logged in, I then have to go to a few different pages before the image is available for download. I am trying to download a POD (Proof of Delivery) image from a carriers website.

Can this be done with CURL?

Unfortunately, I cannot access the image directly because:
a) it is in a password protected area
b) I think there are session variables being set as you browse, as if i browse to the POD of the consignment, there is no request variables added to the image, so I am thinking the previous page must set a session variable to say “this is the consignment I am currently looking at”.

Also- is there any ethical restrictions you guys can see in doing this? If I company lets you login to their website, I can’t see why they would care if you are doing it physically or programmatically.

  • 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-05T00:11:58+00:00Added an answer on June 5, 2026 at 12:11 am

    I often use SimpleTest’s PHP Scriptable Web Browser for such tasks.

    Regarding your “ethical” question, if you’re not breaking any laws and getting the information for personal purposes, nobody should care. Just don’t abuse it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

About a month ago I saw a portfolio website in Flash that featured a
I know that when I use ado.net, I can create database or table at
I have considered about it for a long time. I think I can't use
I am looking to use MvcScaffolding for a website that I already have a
There is a UIViewController that uses a UIImageView , and that image view is
can I programatically (or, as we're speaking about html and css , semantically) decide
I am writing a PHP application that's supposed to allow users to add certain
For about a year now, we’ve been allowing our users to login with usernames
How can I disable the dangerous eval function? Can that be done using ini_set
I was trying to use a WebBrowser to scrape this website and tried to

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.