Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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);
Comment

PREVIOUS NEXT
Code Example
Php :: hook de pré-commit se déclenche 
Php :: mysqldump is not recognized as an internal or external command laravel 
Php :: check input value is not empty or spaced php 
Php :: wordpress show notice only on plugin page 
Php :: submit form and send email in php 
Php :: wp cpt dashicon 
Php :: login page php mysql check if user is verified in the database before user can be logged in 
Php :: php get image from folder as array 
Php :: install PHP extension "amqp" not found, please install it 
Php :: array.diff solution 
Php :: IlluminateValidationRulesRequiredIf 
Php :: stop php execution with javascript 
Php :: Customizing The Validation Attributes 
Php :: collection methods laravel 
Php :: php code for fetching data from database 
Php :: apache/2.4.52 (win64) openssl/1.1.1m php/8.1.2 server at localhost port 80 
Php :: update php version cpanel 
Php :: change email to username laravel login 
Php :: Laravel9 Failed to listen on 127.0.0.1:8000 (reason: ?) 
Php :: how to refresh migration in laravel without losing data 
Php :: select query into left join doctrine 
Php :: php login system 
Java :: how to print hello world in java 
Java :: ansi colors 
Java :: junit 5 dependency maven 
Java :: starting code of java 
Java :: java close application 
Java :: joptionpane.showconfirmdialog yes no example 
Java :: android start service on boot 
Java :: Json web token dependency in Maven 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =