check website ssl certificate using php openssl_x509_parse
$ip = gethostbyname($domain);
$url = "http://" . $domain;
$orignal_parse = parse_url($url, PHP_URL_HOST);
$get = stream_context_create(array("ssl" => array("capture_peer_cert" => TRUE)));
$read = stream_socket_client("ssl://" . $orignal_parse . ":443", $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $get);
$cert = stream_context_get_params($read);
Also in PHP:
- double pipe in php
- current server in laravel
- disadvantages of php
- There is no extension able to load the configuration for "_translation_webui"
- console log php to javascript
- How to get the current time in PHP if
- array reverse order php
- creating seed file laravel
- add_filter wordpress
- eloquent remove updated_at
- date('S) in php
- count characters in string php
- change php format time
- $testing_recipient_email_list = str_replace('@', "+{$recipient}@", $testing_recipient_email);
- Dynamic Carousel in Laravel not working displays only one image
- array_unique array to string conversion
- check array key exists php javascript
- check at which position php
- - phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom * ->
- check value contains numbers or letters php
- artisan run seed
- Laravel Validation check array size min and max
- cache clear in laravel live server
- find location from an ip address PHP