I am writing a script that uses curl to grab data from my web server.
Unfortunately, thats only a one-way communication. What I would like to do is send a php file some info through curl, then grab the info that php returns. But I am not sure how to do this with curl.
Basicly:
CURL: Hey php file. In the mysql database, what is Roberts age?
PHP: Hang on here a moment....23
CURL: Got it, thanks :)
I know how to do all the server side stuff (like php receiving the info and looking up mysql stuff) but have no idea how Curl is suppose to grab php's return info once it is processed.
Any tutorials/ideas? Thanks a bunch!! :)