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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:33:36+00:00 2026-06-03T06:33:36+00:00

What I have: (take a look or fire on localhost if required: http://pastebin.com/virLR7dF )

  • 0

What I have:

(take a look or fire on localhost if required: http://pastebin.com/virLR7dF)

(take a look on image presenting my case: http://iv.pl/images/47143498348127804676.png)

I have a PHP script that crawles given websites, and extracts data as varibles:

$ID = "data"; //this is just an example
$name = "data";
$price = "data";
$image = "data";

Script will put this data in a MySQL DB.

What is wrong?

I can automate it with a for loop so I will get more data at once. But if I loop it 1,000,000 times my script will freeze at some point, and starting over (finding where it broke and starting from that point) is problematic.

How with PHP/JS make it to:

1. gather 10 portions of data

2. stop and display information about gathered data

3. gather next 10 portions of data

4. stop and add new information to previosly displayed information

* have a PAUSE function to stop after next portion gathered

* have a RESUME funcion to start after last portion gathered

  • 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-03T06:33:37+00:00Added an answer on June 3, 2026 at 6:33 am

    Output Buffering might be helping you in PHP

    Try ob_start & ob_flush

    ob_start This function will turn output buffering on. While output
    buffering is active no output is sent from the script (other than
    headers), instead the output is stored in an internal buffer.

    ob_flush This function will send the contents of the output buffer (if
    any)

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

Sidebar

Related Questions

http://i44.tinypic.com/b69h1h.jpg Take a look at the above image, especially the Firebug window. Now have
Please take a look at this image: alt text http://a.imageshack.us/img21/6190/64635037.png I have a MDI
I have created a JSFiddle of my case here: http://jsfiddle.net/gGCaX/ (Please take a look,
Take a look at the following fiddle: http://jsfiddle.net/DNhAk/14/ When you have an image with
i have a website in Wordpress Please take a look http://www.soulspectrum.org Now Problem is
Please take a look at this link: http://bethhaim.spin-demo.com/ I can't figure out why there
Please take a look at this fiddle: http://jsfiddle.net/d3uc9/4/ I have a problem with this,
Take a look at the signup section over here: http://www.istockphoto.com/istock_login Can you explain me
please take a look at the blue menu bar at the top of http://www.animefushigi.com
can someone take a look at this please http://jsfiddle.net/bloodygeese/ecscY/56/ it looks like I have

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.