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.
Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32
  1. #31
    Senior Coder
    Join Date
    Sep 2010
    Posts
    1,899
    Thanks
    15
    Thanked 226 Times in 226 Posts
    What if you used cURL, or file_get_contents to DL the files to a folder? Would that be much faster? Then you could parse them by whatever means works best. You have the BASH shell and any number of ways of doing it, that are probably much faster than SimpleXML, even if you just used them to search for relevant files and let SimpleXML do the heavy work, it might save a great deal of time. Plus the shell doesn't have a timeout limit.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.

  2. #32
    Regular Coder
    Join Date
    Oct 2004
    Location
    London E4 UK
    Posts
    320
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by DrDOS View Post
    What if you used cURL, or file_get_contents to DL the files to a folder? Would that be much faster? Then you could parse them by whatever means works best. You have the BASH shell and any number of ways of doing it, that are probably much faster than SimpleXML, even if you just used them to search for relevant files and let SimpleXML do the heavy work, it might save a great deal of time. Plus the shell doesn't have a timeout limit.
    umm yes, I was just now googling bash scripts to run a list of php files in a single cron job

    my only objections to bash and cURL is I've never used it, oh well, I think you're right, one of those to assemble all the seperate pages as single file and then parse

    'no timeout limit' sounds lovely

    google ho!


 
Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

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