470,811 Members | 1,271 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

second issue

When posting my form to another page which runs various shell_execute
commands, the actual page that runs the command does not load, but the
command seems to be executed. Why is this? I tried putting a two second
sleep at the top of the page to make sure it loads, but it still doesn't
load. How can I make this page load before the command is processed by php?
Dec 21 '05 #1
1 1077
Curt Gilroy wrote:
When posting my form to another page which runs various shell_execute
commands, the actual page that runs the command does not load, but the
command seems to be executed. Why is this? I tried putting a two
second sleep at the top of the page to make sure it loads, but it
still doesn't load. How can I make this page load before the command
is processed by php?


By pushing the command into the background, e.g.:

shell_exec('command &' );
JW
Dec 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by TG | last post: by
3 posts views Thread by src_mag | last post: by
4 posts views Thread by Matik | last post: by
reply views Thread by avnrao | last post: by
1 post views Thread by tleeuwenburg | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.