second issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Curt Gilroy

    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?
  • Janwillem Borleffs

    #2
    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('com mand &' );


    JW


    Comment

    Working...