Zerobin with QRCode

Rédigé par M Sozezzo - - Aucun commentaire

A minimalist, opensource online pastebin-like where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES...

 http://sebsauvage.net/wiki/doku.php?id=php:zerobin

with so many features  BUT without QR Code.

We can be sometime lazy to type URL on "Smartphone", but the "Smartphone" can read QR Code.

 

We use version alpha 0.19, GitHub access to source code.

 

Basic requirements:

  1. Not too much change the original code;
  2. Not compromise security;
  3. Easy to understand;

Lire la suite de Zerobin with QRCode

how to redirect page to https in php?

Rédigé par M Sozezzo - - Aucun commentaire

Site d'origine : http://stackoverflow.com/questions/9135290/how-to-redirect-page-to-https-in-php

 


Ajouter aux fichier : index.php

# Add to redirect to HTTPS
if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "" || $_SERVER['HTTPS'] == "off"){
    $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    header("Location: $redirect");
    exit;
}

Lire la suite de how to redirect page to https in php?

Fil RSS des articles de ce mot clé
PHP Warning: include_once(plugins/simplepie/simplepie.inc): failed to open stream: No such file or directory in C:\Inetpub\vhosts\sozezzo.com\httpsdocs\blog\plugins\simplepie\plx.simplepie.php on line 2 PHP Warning: include_once(): Failed opening 'plugins/simplepie/simplepie.inc' for inclusion (include_path='.;.\includes;.\pear') in C:\Inetpub\vhosts\sozezzo.com\httpsdocs\blog\plugins\simplepie\plx.simplepie.php on line 2