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.41
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-- CURL file uploading --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- <?php function testcurl($ch, $name, $mime = '', $postname = '') { if(!empty($postname)) { $file = new CurlFile($name, $mime, $postname); } else if(!empty($mime)) { $file = new CurlFile($name, $mime); } else { $file = new CurlFile($name); } curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); var_dump(curl_exec($ch)); } include 'server.inc'; $host = curl_cli_server_start(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "{$host}/get.inc?test=file"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); testcurl($ch, __DIR__ . '/curl_testdata1.txt'); testcurl($ch, __DIR__ . '/curl_testdata1.txt', 'text/plain'); testcurl($ch, __DIR__ . '/curl_testdata1.txt', '', 'foo.txt'); testcurl($ch, __DIR__ . '/curl_testdata1.txt', 'text/plain', 'foo.txt'); $file = new CurlFile(__DIR__ . '/curl_testdata1.txt'); $file->setMimeType('text/plain'); var_dump($file->getMimeType()); var_dump($file->getFilename()); curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); var_dump(curl_exec($ch)); $file = curl_file_create(__DIR__ . '/curl_testdata1.txt'); $file->setPostFilename('foo.txt'); var_dump($file->getPostFilename()); curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file)); var_dump(curl_exec($ch)); curl_setopt($ch, CURLOPT_SAFE_UPLOAD, 0); $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt'); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); var_dump(curl_exec($ch)); curl_setopt($ch, CURLOPT_SAFE_UPLOAD, true); $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt'); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); var_dump(curl_exec($ch)); curl_setopt($ch, CURLOPT_URL, "{$host}/get.inc?test=post"); $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt'); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); var_dump(curl_exec($ch)); curl_close($ch); ?> --EXPECTF-- string(%d) "curl_testdata1.txt|application/octet-stream|6" string(%d) "curl_testdata1.txt|text/plain|6" string(%d) "foo.txt|application/octet-stream|6" string(%d) "foo.txt|text/plain|6" string(%d) "text/plain" string(%d) "%s/curl_testdata1.txt" string(%d) "curl_testdata1.txt|text/plain|6" string(%d) "foo.txt" string(%d) "foo.txt|application/octet-stream|6" Warning: curl_setopt(): Disabling safe uploads is no longer supported in %s on line %d string(0) "" string(0) "" string(%d) "array(1) { ["file"]=> string(%d) "@%s/curl_testdata1.txt" } "