Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
sapi /
cli /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:35
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
88
B
-rw-rw-r--
2022-10-31 11:36
Makefile.frag
589
B
-rw-rw-r--
2022-10-31 11:36
cli.h
1.71
KB
-rw-rw-r--
2022-10-31 11:36
cli_win32.c
56
B
-rw-rw-r--
2022-10-31 11:36
config.m4
3.08
KB
-rw-rw-r--
2022-10-31 11:36
config.w32
1.02
KB
-rw-rw-r--
2022-10-31 11:36
generate_mime_type_map.php
3
KB
-rwxrwxr-x
2022-10-31 11:36
mime_type_map.h
40.08
KB
-rw-rw-r--
2022-10-31 11:36
php
43.15
MB
-rwxr-xr-x
2024-03-12 14:35
php.1
9.17
KB
-rw-r--r--
2024-03-12 14:19
php.1.in
9.45
KB
-rw-rw-r--
2022-10-31 11:36
php_cli.c
38.01
KB
-rw-rw-r--
2022-10-31 11:36
php_cli.lo
321
B
-rw-r--r--
2024-03-12 14:35
php_cli.o
191.07
KB
-rw-r--r--
2024-03-12 14:35
php_cli_process_title.c
2.37
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_process_title.h
1.42
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_process_title.lo
363
B
-rw-r--r--
2024-03-12 14:35
php_cli_process_title.o
73.23
KB
-rw-r--r--
2024-03-12 14:35
php_cli_server.c
77.24
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server.h
1.65
KB
-rw-rw-r--
2022-10-31 11:36
php_cli_server.lo
342
B
-rw-r--r--
2024-03-12 14:35
php_cli_server.o
586.86
KB
-rw-r--r--
2024-03-12 14:35
php_http_parser.c
43.67
KB
-rw-rw-r--
2022-10-31 11:36
php_http_parser.h
6.64
KB
-rw-rw-r--
2022-10-31 11:36
php_http_parser.lo
345
B
-rw-r--r--
2024-03-12 14:35
php_http_parser.o
58.61
KB
-rw-r--r--
2024-03-12 14:35
ps_title.c
12.81
KB
-rw-rw-r--
2022-10-31 11:36
ps_title.h
1.64
KB
-rw-rw-r--
2022-10-31 11:36
ps_title.lo
324
B
-rw-r--r--
2024-03-12 14:35
ps_title.o
16.71
KB
-rw-r--r--
2024-03-12 14:35
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Keyur Govande (kgovande@gmail.com) | +----------------------------------------------------------------------+ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "php_cli_process_title.h" #include "ps_title.h" /* {{{ proto bool cli_set_process_title(string arg) Return a boolean to confirm if the process title was successfully changed or not */ PHP_FUNCTION(cli_set_process_title) { char *title = NULL; size_t title_len; int rc; if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &title, &title_len) == FAILURE) { return; } rc = set_ps_title(title); if (rc == PS_TITLE_SUCCESS) { RETURN_TRUE; } php_error_docref(NULL, E_WARNING, "cli_set_process_title had an error: %s", ps_title_errno(rc)); RETURN_FALSE; } /* }}} */ /* {{{ proto string cli_get_process_title() Return a string with the current process title. NULL if error. */ PHP_FUNCTION(cli_get_process_title) { int length = 0; const char* title = NULL; int rc; if (zend_parse_parameters_none() == FAILURE) { return; } rc = get_ps_title(&length, &title); if (rc != PS_TITLE_SUCCESS) { php_error_docref(NULL, E_WARNING, "cli_get_process_title had an error: %s", ps_title_errno(rc)); RETURN_NULL(); } RETURN_STRINGL(title, length); } /* }}} */