Incorrect variable name used in curl.php

Incorrect variable name used for the user agent string.