http_post - undeclared identifier

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

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
Posted By: Widi

Re: http_post - undeclared identifier - 07/16/10 20:16

The "P" by "Version:" in the manual mean that this only work with the pro version. And then make sure you loaded the acknet.dll
© 2024 lite-C Forums