Search found 1 match
- Mon Jul 06, 2009 1:06 am
- Forum: PHP - Code
- Topic: How to do a http put using php curl?
- Replies: 1
- Views: 59
How to do a http put using php curl?
Hi all, Can any one help me regarding how to do a put an file in php using curl? i posted a file using the following code: <?php $data="<root> <name>test</name> <Description>foo</Description> <Created_User>abc</Created_User> </root>"; $ch = curl_init(); $url = "some url"; curl_se...