Forum Moderators: coopster

Message Too Old, No Replies

Post to url without cURL

         

kasiawh

7:01 pm on Feb 4, 2009 (gmt 0)

10+ Year Member



I need to post data to a url, but my server doesn't support cURL.

I looked into alternatives and found a CURL Extension Emulation Library:
[code.blitzaffe.com...]

It seemed like a very handy solution, so I uploaded the files to my server (dropped them into the same directory as the page I'm posting from), but for some reason, it's not working for me.

Are there any other ways to post data without cURL?

Thanks.

coopster

8:29 pm on Feb 4, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, kasiawh.

Open a raw socket using fsockopen. However, if your server doesn't support curl, it's not likely going to allow you to use fsockopen.

kasiawh

3:10 pm on Feb 5, 2009 (gmt 0)

10+ Year Member



Thanks, coopster. I will check if it supports fsockopen.