PHP code example of yidas / magic-quotes-gpc
1. Go to this page and download the library: Download yidas/magic-quotes-gpc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yidas / magic-quotes-gpc example snippets
print_r($_GET);
MagicQuotesGpc::init();
print_r($_GET);
$_POST['users'][0] = ['username'=>"1' OR '1'='1"];
print_r($_POST);
MagicQuotesGpc::init();
print_r($_POST);
MagicQuotesGpc::init();
MagicQuotesGpc::init();