Protection d’une chaîne de caractère avec ‘escapeshellarg( )’*

Author:


Download

<?php
$processus = proc_open("echo hi",
                               array(
                                  0 => array("A", "r"),
                                  1 => array("B", 'filename with spaces', "w"),
                                  2 => array("C", "w"),
                               ),
                               $test);
system('/bin/py '.escapeshellarg($processus));
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


1 × three =