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

Thread: PHP "bots"

  1. #1
    New Coder
    Join Date
    Mar 2007
    Location
    Northern Ireland
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP "bots"

    Hi,

    I just wanted to ask how you could go about making a script that draws information from other websites and displays it on your own. For example, say I wanted a script that took currency conversion rates from another website and display them in a section on my own website that updates fairly frequently.

    Just a few pointers would be appreciated, such as some functions which could be used etc, nothing too big, I'd like to figure out how to do this myself mostly...after all that's how we learn.

    Thanks in advance.

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    curl_open()
    curl_init()
    file_get_contents()
    file_put_contents()
    preg_match()
    preg_replace()
    htmlentities()
    explode()
    strstr()
    strlen()
    empty()
    print_r()

  • #3
    New Coder
    Join Date
    Mar 2007
    Location
    Northern Ireland
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you


  •  

    Posting Permissions

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