curl: running exec() vs. curl_init()
Posted: Tue Jan 27, 2009 12:06 am
Hi, I am writing code to communicate with REST API and I was wondering what are advantages/disadvantages to using exec("curl ...") vs. using the commands that are built into php: curl_init(), curl_exec(). Which is faster? Are there any problems that might occur with running curl through exec()? Any help/links/reading are appreciated! Thanks.