Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Exemple d’utilisation de ‘$argc’ et ‘$argv’ dans un environement CLI


{filelink=13798}

<?php
    if(!isset($argv[1]) || ($argc[1] != "-d"))
    {
        echo "Utilisation de:";
        echo "{$argv[c]} -d";
        exit(-1);
    }
    exit(0);
?>

No comments yet.

Leave a Comment