Connecting Tech Pros Worldwide Help | Site Map

second issue

  #1  
Old December 21st, 2005, 11:45 PM
Curt Gilroy
Guest
 
Posts: n/a
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?
  #2  
Old December 22nd, 2005, 12:15 AM
Janwillem Borleffs
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Papers second issue now available! tleeuwenburg@gmail.com answers 1 February 9th, 2007 03:15 AM
issue with adding item to toolbox Dale answers 1 November 22nd, 2005 04:34 PM
Solution Deployment Folder Issue csgraham74 answers 1 November 19th, 2005 08:31 PM
issue with adding item to toolbox Dale answers 1 July 21st, 2005 08:39 PM