mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 23:49:09 +00:00
Clean up
This commit is contained in:
+3
-3
@@ -72,11 +72,11 @@ $curl->setOpt(CURLOPT_FOLLOWLOCATION, true); // DANGER!
|
||||
$curl->get('https://www.example.com/image.png');
|
||||
```
|
||||
|
||||
### Keep SSL protections enabled.
|
||||
### Keep SSL protections enabled
|
||||
|
||||
* Do not disable SSL protections.
|
||||
|
||||
```php
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); // DANGER!
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // DANGER!
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // DANGER!
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // DANGER!
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user