What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-02 18:27:02
currency convertor in php
<?php /////for current update currency using api///// $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.exchangeratesapi.io/latest?base=USD", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING =>... Add solution -
PHP 2021-09-02 14:20:02
Verzeichnis einlesen php
<?php // Der Punkt steht für das Verzeichnis, in der auch dieses // PHP-Programm gespeichert ist $verzeichnis = "."; echo "<ol>"; // Test, ob es sich um ein Verzeichnis handelt if ( is_dir ( $verzeichnis )) { // &oum... Add solution -
PHP 2021-09-02 14:03:02
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(&q... Add solution -
PHP 2021-09-02 10:44:02
search function using php for database entries
<?php $con= new mysqli("localhost","root","","Employee"); $name = $_post['search']; //$query = "SELECT * FROM employees // WHERE first_name LIKE '%{$name}%' OR last_name LIKE '%{$name}%'"... Add solution -
PHP 2021-09-01 09:26:02
write a script using php telnet to a server
<?php // configuration $file = '/var/log/apache2/access.log'; $ip = '127.'; // start of script $title = "\033[H\033[2K$file"; if (strpos($_SERVER['REMOTE_ADDR'],$ip)!==0) die('Access Denied'); $stream = fopen($file, 'r'); if (!$stream) die(&q... Add solution
Best helpers
Ranking is empty