I have cURL working, it retrieves data from Google and what not…
I’m still learning this, so I’m a bit confused about waiting on response and timeout.
Let’s say I’ve some php code, then cURL execute, and then some php code.
So,
php code .... (1)
cURL execute
php code .... (2)
Will php code (2) wait until cURL execution is done and I have gotten a response from Google? OR will the php keep executing php code (2)? If php will keep executing php code (2), what can I do to stop it until I have gotten response from the cURL execute? Thanks!