hey people,
I wrote some simple script that works on my computer [winXp+ apache + php5]
the script uses the HTTP extension:
http://www.php.net/manual/en/ref.http.php
In fact, it just uses the http_post_data() function.
the thing is that my hosting provider [free shared hosting] doesn't support this function.
is there any way to make this function work on the hosting server?
maybe if I upload the files that contain this function and all the related classes, and the use include() or something like this. I have no idea...
If there's no way to do this, I'll be glad if you tell me what free hosting service supports this.
and if you don't know, maybe you can tell me how to do the same that http_post_data() but without using it
I know that I can use sockets, but I don't know how to calculate the 'content-size' header.
the http_post_data() does this automatically, you just need to provide the post data and it generates the correct 'content-size'.