Page 1 of 1

Curl to php

Posted: Thu Apr 16, 2009 4:07 pm
by toasty525
Could someone please give me an idea as how to convert this Curl command line statment:

Code: Select all

curl -k -H "Accept: application/xml" "https://secure.zaypay.com///pay/00034/payments/7133?key=bn84htyejgj5o97kgh"
into code that will run from a php file ?

Thanks, mark.