Curl to php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
toasty525
Forum Newbie
Posts: 10
Joined: Wed Apr 05, 2006 12:48 pm

Curl to php

Post 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.
Post Reply