If it wasn't for Mindzai though, it probably would have took me all day to figure out how to change the user agent!Quote:
Is it possible that the database surver knows that the post is been made by a server opposed to a browser (and has a problem with this) as when I post this using a HTML form, everything works fine!
If so, is there any way of making the post appear as if it has originated from a browser?
Lucky guess :)
Re the encrypted transfer, you can use SSL/TLS with cURL if the server has a valid CA certificate. The process is explained well here.
Mindzai beat me to it. I was gonna tell you about CURLOPT_USERAGENT because I ran into that problem myself with a site I was accessing by cURL.
I'm glad you got it working.