Help for this page

Select Code to Download


  1. or download this
    $ env QUERY_STRING=data=foo&api_key=laurel%26hardy script.cgi
    
  2. or download this
    if (-t STDIN) {
        # command line. for params, substitute special chars (e.g. & => %2
    +6)
    ...
    } else {
        # via webserver
    }