Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Could use some help on a project

    I'm trying to write a code that will go into a website, login, and copy a page to a text file. Any clue about where to start with that?

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,978
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    You'll be using either curl or socket programming for this assuming by login you mean much like we have here, and not basic auth. If its basic auth, any httpwrapper method would work such as fopen or file_get_contents.

    Once you learn the curl or the socket handling for this, the rest will fall in place. Fetching is the easy part, logging in requires a bit more work.

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •