473,770 Members | 6,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Processing data using a web interface

I have a script that processes a lot of data. Ideally it would be run
from the CLI, however I want to run it from a browser, but I don't want
the browser hanging on me forcing me to restart from scratch.

My question is, how do I output data to the browser when something is
processed when it is processed instead of having all the output come at
once when the script is done?

Is there a set amount of time where the page processing the data might
time out? If so, how do I change this timeout to when the script is done?
Jul 25 '07 #1
1 1249
Vernon Wenberg III wrote:
I have a script that processes a lot of data. Ideally it would be run
from the CLI, however I want to run it from a browser, but I don't want
the browser hanging on me forcing me to restart from scratch.

My question is, how do I output data to the browser when something is
processed when it is processed instead of having all the output come at
once when the script is done?

Is there a set amount of time where the page processing the data might
time out? If so, how do I change this timeout to when the script is done?
Vernon,

There's no way to ensure the data will be displayed.

You can call flush() to force the output out of php. But the web server
is still free to cache it, and the browser may or may not display it
immediately.

You can't do much about the server, but browsers are more likely to
cache data if you have things like tables which haven't been closed yet
(</table not sent yet). But that's not necessarily the only reason.
Keeping the data simpler helps.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 25 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2524
by: WmGill | last post by:
I am experimenting with Python, and want to convert some of my PHP scripts to python cgi scripts. In PHP I use PHP_SELF for the action target. This way I can "reuse" data in fields (i.e. if the user enters data in a field then submits the form, it comes back already filled in on each subsequent iteration). I know I can do this in Python, but before I spend a lot of time, is it very complicated, or can form field values be...
6
1578
by: Anders Søndergaard | last post by:
Hi, I'm trying to process a large filesystem (+20 million files) and keep the directories along with summarized information about the files (sizes, modification times, newest file and the like) in an instance hierarchy in memory. I read the information from a Berkeley Database. I'm keeping it in a Left-Child-Right-Sibling instance structure, that I operate on recursively.
4
2477
by: Raj | last post by:
Hi I am developing a POS system for a retail business and I need to support accepting the credit and the debit cards. This authorization interface need to be integrated to the my POS application(vb dot net) I am building i.e.. my application will send the data to the hardware for authorization and gets back the authorization status possibly using the COM ports. So far I found out that the debit card authorization can only be accomplished...
7
7005
by: gj | last post by:
I have an application in Access 97 I will be rewriting in the latest version of Access in 6 months. In the meantime, does anyone know of an ActiveX control I can add into an Access 97 form to allow the validation of Credit Card numbers and also processing of payments. Ta very muchly. GJ
9
3313
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for >people moving from power user to developer, but now I suggest you browse >it, >too. It strongly emphasizes ADO, which knowledgeable Microsoft insiders no >longer recommend, and the Access ADP client to SQL Server. He writes well, >and is a good...
6
4997
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing for long running reports. When the processing is complete it uses crystal reports to load a template file, populate it, and then export it to a PDF. It works fine so far....
5
969
by: pmclinn | last post by:
I have data stored in the following fashion: Interface Name, Mac Address11,0000001234 12,0000000235 12,0000000005 13,000003341A 12,00ca000000 ....
0
1244
by: sram | last post by:
Hi, Problem statement: We have some amount of data stored in various excel sheets and we generate a few reports from these data. We are in the process of consolidating all data to reside in a single repository. Currently, it is semi-automated i.e. we are using MS Excel for data entry, consolidation and report generation (i.e. using formulas). We require a tool that will provide: a) A web-based interface for data entry (i.e. remote,
5
5325
by: SRAM | last post by:
Hi, Problem statement: We have some amount of data stored in various excel sheets and we generate a few reports from these data. We are in the process of consolidating all data to reside in a single repository. Currently, it is semi-automated i.e. we are using MS Excel for data entry, consolidation and report generation (i.e. using formulas). We require a tool that will provide: a) A web-based interface for data entry (i.e. remote,
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10005
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8887
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6679
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5452
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.