Correct, I could but this a PHP script that is in the machine's /var/www/html directory that you point your browser at.
Yes, it is; I'm not sure how this prevents you from printing something.
Your PHP script - and most other CGI scripts like it - don't interact with a web browser in real-time, it runs once on page load then quits. Your program has already quit by the time someone is looking at its output, and clicking would either cause another page load (of the same script or a different one), or trigger something to happen in the page's HTML, or execute a javascript program.
The simplest way would be to use HTML expanding sections, like this:
Hi,
I am a new learner of Unix. I am currently working on a Solaris 8 machine. Earlier, when I use 'cd <folder name>' command, I am not only able to change the folder but also able to see the contents of the folder as if a 'ls -lt' command was executed. However, since a week, suddenly this... (3 Replies)
Hi i have just registered
So i am at university studying forensic computing and we have to learn c++
i have never done anything with c++ before and i am abit stuck
i need to create a programme to display the contents of an array of characters forwards and in reverse
Can anyone help me... (1 Reply)
Dear Friends,
Am an newbie to this domain. I have a table which is filled with contents which i need to be updated with,so am trying to design a flow which would read the data from the table and mail it to me at regular intervals. I could make out the flow using mailx command but want to... (3 Replies)
Hiii...
I wanna know "What are the contents of a symbolic link?".......
From google I dint get a good answer....that's why I posts here......
Thanking you.
Krishna (1 Reply)
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
ksh
eg
arrayname=(1 2 3 4 5)
I'm trying to display the individual contents of an array on a new line without using a loop, using one line of code.
output
1
2
3
4
5 (3 Replies)
Hi -
Our system admin cannot create a link to NAS with one particular name but he can create with other names.
What might be the cause?
Regards
---------- Post updated at 11:30 AM ---------- Previous update was at 11:29 AM ----------
It says permission denied. (2 Replies)
<tr><td bgcolor=#D7EBAD><b>Instructions :</b></td>
<td>`cat temp.txt`</td></tr>
Hi Experts,
I have an requirement of displaying file contents in HTML mail , for which am using the above approach, Where as the output is kind of not as expected.
If there are 5 lines in the file, in the... (4 Replies)
I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT PHP
flush
FLUSH(3) 1 FLUSH(3)flush - Flush system output bufferSYNOPSIS
void flush (void )
DESCRIPTION
Flushes the system write buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This attempts to push current output
all the way to the browser with a few caveats.
flush(3) may not be able to override the buffering scheme of your web server and it has no effect on any client-side buffering in the
browser. It also doesn't affect PHP's userspace output buffering mechanism. This means you will have to call both ob_flush(3) and flush(3)
to flush the ob output buffers if you are using those.
Several servers, especially on Win32, will still buffer the output from your script until it terminates before transmitting the results to
the browser.
Server modules for Apache like mod_gzip may do buffering of their own that will cause flush(3) to not result in data being sent immedi-
ately to the client.
Even the browser may buffer its input before displaying it. Netscape, for example, buffers text until it receives an end-of-line or the
beginning of a tag, and it won't render tables until the </table> tag of the outermost table is seen.
Some versions of Microsoft Internet Explorer will only start to display the page after they have received 256 bytes of output, so you may
need to send extra whitespace before flushing to get those browsers to display the page.
RETURN VALUES
No value is returned.
SEE ALSO ob_flush(3), ob_clean(3), ob_end_flush(3), ob_end_clean(3).
PHP Documentation Group FLUSH(3)