This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
uphp:functions:exec [2017/02/21 09:59] jeff created |
uphp:functions:exec [2021/09/13 05:57] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======exec====== | ======exec====== | ||
| + | |||
| < | < | ||
| Line 5: | Line 6: | ||
| ====Description==== | ====Description==== | ||
| - | <well size=" | + | |
| - | < | + | <well size=" |
| - | <span style=" | + | <span style=" |
| - | <span style=" | + | <span style=" |
| - | <span style=" | + | <span style=" |
| - | <span style=" | + | <span style=" |
| - | <span style=" | + | <span style=" |
| - | <span style=" | + | <span style=" |
| + | <span style=" | ||
| </ | </ | ||
| ====Parameters==== | ====Parameters==== | ||
| - | < | ||
| - | < | + | <html><b>< |
| + | |||
| + | < | ||
| + | |||
| + | ====Return Values==== | ||
| - | ====Return Value==== | ||
| None | None | ||
| ====Example==== | ====Example==== | ||
| - | <code php><? | ||
| - | exec("/ | ||
| - | ?></ | ||
| - | ====See Also==== | + | <code php> |
| - | [[uphp:statements:function]] - Define a function | + | <? |
| + | exec("/ | ||
| + | // ... | ||
| + | // (if there are any further commands here they will be executed immediately without delay) | ||
| + | // ... | ||
| + | ?> | ||
| + | </ | ||
| + | |||
| + | ====Also | ||
| + | |||
| + | [[software:os:config: | ||
| - | [[uphp: | + | [[include()]] - Include a file within |
| - | ====Additional Information==== | + | [[process_list()]] - Return an < |
| - | User defined functions can take many different forms, and it is not necessary to use [[exec()]] to execute a function unless a direct return value is needed. | + | |
| - | If used within a function, the [[uphp: | ||