passthru() help


Posted on 16th Feb 2014 07:03 pm by admin

Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell scripts, but beyond that, I'm not much of a programmer. That being said, here's what I'm trying to do:
I'm using the passthru() function to run a program on the server. The server side program can take a few minutes to finish, but it does send data to stdout as it's running. While it's running, I'd like to give the user some sort of indication that the program is running. A progress bar would be fine, but I'd really like to be able to give them the output of the server side program as it becomes available.
So far, I haven't seen that there's a way to do this with passthru(). Should I try a different function? Is this even possible with PHP?
Thanks for your help

No comments posted yet

Your Answer:

Login to answer
184 Like 14 Dislike
Previous forums Next forums
Other forums

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

Multithreading in Oracle (Java, SQLJ, Pro*C,??) on 10g
I am investigating how to run a Java stored procedure in multithread mode.
I know that if I chang

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

Inserting the current date/time while submitting the forum
What do I need to add below to update the current date/time? I have a field in the database called d

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

Troubles with a spider class
I am building a spider that will crawl through random whitepages (eg. anywho.com, switchboard.com, w

Wierd if else problem
Hi guys,

this probably aint wierd for you, but it seems like php is playin up to me. may b i

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash