| /PHP_TRUNK/TSRM/ |
| H A D | tsrm_nw.c | 55 char *command = NULL, *argv[MAX_ARGS] = {'\0'}, **env = NULL; local 130 command = (char*)malloc(ptrLen + 1); 131 if (!command) { 136 strcpy (command, ptr); 145 if (command) 146 free (command); 215 if (command) 216 free (command);
|
| H A D | tsrm_virtual_cwd.c | 1829 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1831 return popen_ex(command, type, CWDG(cwd).cwd, NULL TSRMLS_CC); 1838 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1854 retval = popen(command, type); 1865 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1873 command_length = strlen(command); 1916 memcpy(ptr, command, command_length+1);
|
| H A D | tsrm_win32.c | 49 globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com"); 450 TSRM_API FILE *popen(const char *command, const char *type) argument 454 return popen_ex(command, type, NULL, NULL TSRMLS_CC); 457 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env TSRMLS_DC) argument 535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); 540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
|
| /PHP_TRUNK/ext/standard/ |
| H A D | exec.c | 141 /* Return last line from the shell command */ 188 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot execute a blank command"); 208 /* {{{ proto string exec(string command [, array &output [, int &return_value]]) 216 /* {{{ proto int system(string command [, int &return_value]) 224 /* {{{ proto void passthru(string command [, int &return_value]) 234 break out of a shell command 394 /* {{{ proto string escapeshellcmd(string command) 398 char *command; local 402 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) { 407 cmd = php_escape_shell_cmd(command); 440 char *command; local [all...] |
| H A D | proc_open.h | 48 char *command; member in struct:php_process_handle
|
| H A D | proc_open.c | 256 pefree(proc->command, proc->is_persistent); 343 add_assoc_string(return_value, "command", proc->command, 1); 428 /* {{{ proto resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]]) 432 char *command, *cwd=NULL; local 474 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "saz|s!a!a!", &command, 480 command = pestrdup(command, is_persistent); 500 command_len = strlen(command); 737 newprocok = CreateProcess(NULL, command, [all...] |
| H A D | file.c | 907 /* {{{ proto resource popen(string command, string mode) 908 Execute a command and open either a read or a write pipe to it */ 911 char *command, *mode; local 917 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &command, &command_len, &mode, &mode_len) == FAILURE) { 931 fp = VCWD_POPEN(command, posix_mode); 933 php_error_docref2(NULL TSRMLS_CC, command, posix_mode, E_WARNING, "%s", strerror(errno)); 941 php_error_docref2(NULL TSRMLS_CC, command, mode, E_WARNING, "%s", strerror(errno));
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_wireprotocol.h | 159 enum php_mysqlnd_server_command command; member in struct:st_mysqlnd_packet_command
|
| H A D | mysqlnd.c | 57 "Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will " 62 PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you can't run this command now"; 216 zend_bool silent, enum php_mysqlnd_server_command command, 222 DBG_INF_FMT("silent=%u packet=%u command=%s", silent, ok_packet, mysqlnd_command_to_text[command]); 233 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]); 235 mysqlnd_command_to_text[command], getpid()); 280 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]); 282 mysqlnd_command_to_text[command], getpid()); 314 MYSQLND_METHOD(mysqlnd_conn_data, simple_command_send_request)(MYSQLND_CONN_DATA * conn, enum php_mysqlnd_server_command command, 685 const char * const command = conn->options->init_commands[current_command]; local [all...] |