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

Refining of search Criteria
Dear Friends

I need a help, I have a search page which of cars related, which has different s

Problem with passing variables
I'm not really a php programmer so I'm really struggling with this issue.

I have a banner s

user data not transferring to new page
I'm a PHP learner. After an index.php page, the user goes to a login.php page. Both pages seem to

How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html.

I have a form with several drop down me

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

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