Connecting Tech Pros Worldwide Help | Site Map

second issue

Curt Gilroy
Guest
 
Posts: n/a
#1: Dec 21 '05
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?
Janwillem Borleffs
Guest
 
Posts: n/a
#2: Dec 22 '05

re: second issue


Curt Gilroy wrote:[color=blue]
> 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?[/color]

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

shell_exec('command &' );


JW


Closed Thread