|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/poskrypt/test.poskrypt.com/vendor1/stripe/stripe-php/ |
Upload File : |
#!/usr/bin/env php
<?php
\chdir(__DIR__);
\set_time_limit(0); // unlimited max execution time
$fp = \fopen(__DIR__ . '/data/ca-certificates.crt', 'w+b');
$options = [
\CURLOPT_FILE => $fp,
\CURLOPT_TIMEOUT => 3600,
\CURLOPT_URL => 'https://curl.se/ca/cacert.pem',
];
$ch = \curl_init();
\curl_setopt_array($ch, $options);
\curl_exec($ch);
\curl_close($ch);
\fclose($fp);