Posted By: Bone
http_post - undeclared identifier - 07/16/10 17:53
Hey,
I want to get information from a php script so I had
a look at the manual.
I found the http_post function with an example.
Thatīs my code
I use the free Version.
Isnīt it possible to do that with the free edition?
I get the error http_post - undeclared identifier.
In the SED http_post is write in red like a function
Hope you can help me
I want to get information from a php script so I had
a look at the manual.
I found the http_post function with an example.
Thatīs my code
Code:
#include <acknex.h> #include <default.c> #include <acknet.h> STRING* timestamp; PANEL* information = { digits(35, 10, %s, *, 1, timestamp); flags = SHOW; } function main() { var id = http_post("localhost/browser_game/time.php",NULL); while (!http_status(id)) wait(1);//wait for the server to reply if (http_status(id) == 1) { //transfer successful? http_result(id,timestamp); //get the replied IP } http_free(id); //always cleanup the httpid! }
I use the free Version.
Isnīt it possible to do that with the free edition?
I get the error http_post - undeclared identifier.
In the SED http_post is write in red like a function
Hope you can help me