Set CURLOPT_RETURNTRANSFER to 0.

This commit is contained in:
Ricky Zhou (周家杰) 2008-12-14 00:06:17 -05:00
parent 427cad5a38
commit 9d92c1e380

View file

@ -14,7 +14,7 @@
curl_setopt($ch, CURLOPT_USERAGENT, "Auth_FAS 0.9");
curl_setopt($ch, CURLOPT_POSTFIELDS, "username=".urlencode($username)."&user_name=".urlencode($username)."&password=".urlencode($password)."&login=Login");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
# I hate chained certificates
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
# This is only required because of the wildcard cert on pt10