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?
Did you know?Explore Trending and Topic pages for more stories like this.
Thanks for your help
No comments posted yet

Your Answer:

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

dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha

How to login with SAPCPIC userid
I have changed the Password for SAPCPIC in Development Server for 000,001 and 100 client.
But w

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Pop-up Banner
Hello Friends,I need to use banner in our client site.Example: www.example.com if i enter this site

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

can i optmize image to 50% quality before uploading 2 server
Hi there

i have jus written a php program to upload and display images but when i try to uplo

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

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