PHP funkce popen()
Dostupnost ve verzích: PHP 4.0
Opens process file pointer
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$command |
string |
není | The command |
$mode |
string |
není | The mode |
Návratové hodnoty
resource
a file pointer identical to that returned by fopen, except that it is unidirectional (may only be used for reading or writing) and must be closed with pclose. This pointer may be used with fgets, fgetss, and fwrite.
If an error occurs, returns false.