Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: PHP & snoopy

  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Thanked 0 Times in 0 Posts

    PHP & snoopy

    I am trying to write a bot in PHP, and I am encountering problems with the Snoopy class. I am trying to fetch a web page using Snoopy's fetch() method, but when the page loads, there are no graphics or stylesheets because Snoopy dosen't convert local URLs into remote ones. IS there another class I can use or will I have to use VB.NET (which I don't know)?

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 Posts
    On second thought I'll allow this.
    Can you explain what this is supposed to do? Local URL's can be easily converted to remote urls so long as you know the original target and can retrieve the context of the url.
    Last edited by Fou-Lu; 03-25-2009 at 05:24 AM.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


    Posting Permissions

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