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 /
ext /
curl /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
responder
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CONFLICTS
7
B
-rw-rw-r--
2022-10-31 11:36
bug27023.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
bug45161.phpt
926
B
-rw-rw-r--
2022-10-31 11:36
bug46711.phpt
563
B
-rw-rw-r--
2022-10-31 11:36
bug46739.phpt
412
B
-rw-rw-r--
2022-10-31 11:36
bug48203.phpt
660
B
-rw-rw-r--
2022-10-31 11:36
bug48203_multi.phpt
2.5
KB
-rw-rw-r--
2022-10-31 11:36
bug48207.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug48514.phpt
469
B
-rw-rw-r--
2022-10-31 11:36
bug52202.phpt
479
B
-rw-rw-r--
2022-10-31 11:36
bug52827.phpt
818
B
-rw-rw-r--
2022-10-31 11:36
bug54798-unix.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
bug54798.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
bug54995.phpt
553
B
-rw-rw-r--
2022-10-31 11:36
bug55767.phpt
1.2
KB
-rw-rw-r--
2022-10-31 11:36
bug61948-unix.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
bug61948.phpt
883
B
-rw-rw-r--
2022-10-31 11:36
bug62839.phpt
285
B
-rw-rw-r--
2022-10-31 11:36
bug63363.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
bug63795.phpt
1023
B
-rw-rw-r--
2022-10-31 11:36
bug64267.phpt
768
B
-rw-rw-r--
2022-10-31 11:36
bug65458.phpt
687
B
-rw-rw-r--
2022-10-31 11:36
bug65646.phpt
397
B
-rw-rw-r--
2022-10-31 11:36
bug65646_open_basedir_new.phpt
840
B
-rw-rw-r--
2022-10-31 11:36
bug65646_open_basedir_old.phpt
587
B
-rw-rw-r--
2022-10-31 11:36
bug66109.phpt
536
B
-rw-rw-r--
2022-10-31 11:36
bug67643.phpt
624
B
-rw-rw-r--
2022-10-31 11:36
bug68089.phpt
361
B
-rw-rw-r--
2022-10-31 11:36
bug68937.phpt
631
B
-rw-rw-r--
2022-10-31 11:36
bug68937_2.phpt
717
B
-rw-rw-r--
2022-10-31 11:36
bug69316.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
bug69485.phpt
305
B
-rw-rw-r--
2022-10-31 11:36
bug70330.phpt
328
B
-rw-rw-r--
2022-10-31 11:36
bug71144.phpt
421
B
-rw-rw-r--
2022-10-31 11:36
bug71523.phpt
565
B
-rw-rw-r--
2022-10-31 11:36
bug72189.phpt
839
B
-rw-rw-r--
2022-10-31 11:36
bug72202.phpt
619
B
-rw-rw-r--
2022-10-31 11:36
bug73147.phpt
500
B
-rw-rw-r--
2022-10-31 11:36
bug76675.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
bug77535.phpt
2.31
KB
-rw-rw-r--
2022-10-31 11:36
bug77711.phpt
743
B
-rw-rw-r--
2022-10-31 11:36
bug77946.phpt
926
B
-rw-rw-r--
2022-10-31 11:36
bug78775.phpt
746
B
-rw-rw-r--
2022-10-31 11:36
bug79033.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
bug79199.phpt
477
B
-rw-rw-r--
2022-10-31 11:36
bug79741.phpt
256
B
-rw-rw-r--
2022-10-31 11:36
bug80595.phpt
614
B
-rw-rw-r--
2022-10-31 11:36
check_win_config.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
curl_CURLOPT_READDATA.phpt
1.06
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_001.phpt
1022
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_002.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_003.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_004.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_005.phpt
1008
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_006.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_007.phpt
539
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_008.phpt
563
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_009.phpt
485
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_010.phpt
737
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_011.phpt
918
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_012.phpt
1008
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_013.phpt
1008
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_014.phpt
324
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_015.phpt
396
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_016.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_018.phpt
1.75
KB
-rw-rw-r--
2022-10-31 11:36
curl_basic_019.phpt
540
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_020.phpt
497
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_021.phpt
518
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_022.phpt
761
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_023.phpt
714
B
-rw-rw-r--
2022-10-31 11:36
curl_basic_024.phpt
774
B
-rw-rw-r--
2022-10-31 11:36
curl_close_basic.phpt
291
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic.phpt
689
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_001.phpt
892
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_002.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_004.phpt
926
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_005.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_006.phpt
1012
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_007.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_008.phpt
555
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_basic_009.phpt
713
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_variation1.phpt
752
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_variation2.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_variation3.phpt
883
B
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_variation4.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
curl_copy_handle_variation5.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
curl_error_basic.phpt
903
B
-rw-rw-r--
2022-10-31 11:36
curl_escape.phpt
687
B
-rw-rw-r--
2022-10-31 11:36
curl_file_deleted_before_curl_close.phpt
895
B
-rw-rw-r--
2022-10-31 11:36
curl_file_serialize.phpt
411
B
-rw-rw-r--
2022-10-31 11:36
curl_file_upload.phpt
2.4
KB
-rw-rw-r--
2022-10-31 11:36
curl_file_upload_stream.phpt
731
B
-rw-rw-r--
2022-10-31 11:36
curl_ftp_pasv.phpt
1.93
KB
-rw-rw-r--
2022-10-31 11:36
curl_multi_close_basic.phpt
309
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_close_basic001.phpt
608
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_close_reference.phpt
397
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_errno_strerror_001.phpt
612
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_getcontent_basic3.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
curl_multi_info_read.phpt
1010
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_init_basic.phpt
703
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_segfault.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
curl_multi_select_basic1.phpt
638
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_setopt_basic001.phpt
545
B
-rw-rw-r--
2022-10-31 11:36
curl_multi_strerror_001.phpt
476
B
-rw-rw-r--
2022-10-31 11:36
curl_reset.phpt
833
B
-rw-rw-r--
2022-10-31 11:36
curl_setopt_CURLOPT_READFUNCTION.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
curl_setopt_array_basic.phpt
1.43
KB
-rw-rw-r--
2022-10-31 11:36
curl_setopt_basic002.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
curl_setopt_basic003.phpt
889
B
-rw-rw-r--
2022-10-31 11:36
curl_setopt_basic004.phpt
943
B
-rw-rw-r--
2022-10-31 11:36
curl_setopt_error.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
curl_share_close_basic001.phpt
410
B
-rw-rw-r--
2022-10-31 11:36
curl_share_errno_strerror_001.phpt
618
B
-rw-rw-r--
2022-10-31 11:36
curl_share_setopt_basic001.phpt
505
B
-rw-rw-r--
2022-10-31 11:36
curl_strerror_001.phpt
536
B
-rw-rw-r--
2022-10-31 11:36
curl_testdata1.txt
6
B
-rw-rw-r--
2022-10-31 11:36
curl_testdata2.txt
6
B
-rw-rw-r--
2022-10-31 11:36
curl_version_basic_001.phpt
704
B
-rw-rw-r--
2022-10-31 11:36
curl_version_error_001.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
curl_write_callback.phpt
833
B
-rw-rw-r--
2022-10-31 11:36
curl_write_file.phpt
893
B
-rw-rw-r--
2022-10-31 11:36
curl_write_return.phpt
750
B
-rw-rw-r--
2022-10-31 11:36
curl_write_stdout.phpt
726
B
-rw-rw-r--
2022-10-31 11:36
curl_writeheader_callback.phpt
811
B
-rw-rw-r--
2022-10-31 11:36
server.inc
2.02
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
280
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test curl_exec() function with basic functionality --SKIPIF-- <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); if (false === getenv('PHP_CURL_FTP_REMOTE_SERVER')) exit("skip PHP_CURL_FTP_REMOTE_SERVER env variable is not defined"); if (false === getenv('PHP_CURL_FTP_REMOTE_USER')) exit("skip PHP_CURL_FTP_REMOTE_USER env variable is not defined"); if (false === getenv('PHP_CURL_FTP_REMOTE_PASSWD')) exit("skip PHP_CURL_FTP_REMOTE_PASSWD env variable is not defined"); ?> --FILE-- <?php $host = getenv('PHP_CURL_FTP_REMOTE_SERVER'); $username = getenv('PHP_CURL_FTP_REMOTE_USER'); $password = getenv('PHP_CURL_FTP_REMOTE_PASSWD'); // FTP this script to a server $fp = fopen ( __FILE__ , "r" ); $url = "ftp://$username:$password@$host/test.phpt" ; $ch = curl_init (); // enable below to get the output in verbose mode. // curl_setopt ( $ch , CURLOPT_VERBOSE, 1 ); /* Without enabling SKIP_PASV_IP flag, the following output will be seen.. < 227 Entering Passive Mode (10,5,80,146,100,199) * Trying 10.5.80.146... * connected * Connecting to 10.5.80.146 (10.5.80.146) port 25799 */ /* After enabling SKIP_PASV_IP flag, the following output will be seen.. < 227 Entering Passive Mode (10,5,80,146,50,229) * Skips 10.5.80.146 for data connection, uses 10.5.80.146 instead * Trying 10.5.80.146... * connected */ curl_setopt ( $ch , CURLOPT_URL, $url ); curl_setopt ( $ch , CURLOPT_TRANSFERTEXT, 1 ); //force passive connection curl_setopt ( $ch , CURLOPT_FTP_USE_EPSV, 0 ); curl_setopt ( $ch , CURLOPT_FTP_SKIP_PASV_IP, 1 ); // mark the file for upload.. curl_setopt ( $ch , CURLOPT_INFILE, $fp ); curl_setopt ( $ch , CURLOPT_INFILESIZE, filesize(__FILE__) ); curl_setopt ( $ch , CURLOPT_PUT, 1 ); curl_setopt ( $ch , CURLOPT_UPLOAD, 1 ); $result = curl_exec ( $ch ); var_dump ( $result ); curl_close ( $ch ); ?> ===DONE=== --EXPECT-- bool(true) ===DONE===