Html için
<!DOCTYPE html>charset="utf-8"name="viewport" content="width=device-width, initial-scale=1"name="description" content=""name="description" content=""name="keywords" content=""property="og:locale" content="tr_TR"property="og:type" content=""property="og:title" content=""property="og:description" content=""property="og:url" content=""property="og:site_name" content=""name="twitter:card" content=""name="twitter:description" content=""name="twitter:title" content=""name="twitter:site" content="@"rel="amphtml" href=""rel="icon" type="image/x-icon" href="favicon.ico"rel="canonical" href=""rel="next" href=""rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"type='text/css'class="container-fluid"src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.bundle.min.js"type="text/javascript"
Php için
<?phpob_start();session_start();header("Cache-Control: no-cache, must-revalidate");header('Content-Type: text/html; charset=utf-8');date_default_timezone_set('Europe/Istanbul');mb_language('uni');mb_internal_encoding('UTF-8');if($_SERVER['HTTP_HOST'] == "127.0.0.1"){//localhost$link = mysqli_connect("localhost","root","rootsifre","dbadi");}else{//www global$link = mysqli_connect("localhost","kullaniciadim","şifrem","veritabanim");//https yönlendirif (!(isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')){$redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];header('HTTP/1.1 301 Moved Permanently');header('Location: ' . $redirect);exit();}}if (mysqli_connect_errno()) {printf("Baglanti Hatasi: %s\n", mysqli_connect_error());exit();}if (!mysqli_set_charset($link, "utf8")) {printf("Error loading character set utf8: %s\n", mysqli_error($link));exit();}