title: cURL , get redirect url to a variable
body: <p>I'm using curl to fill a form. After completion of the post the other script which handles the form is redirecting to another URL. I want to get this redirect URL into a variable.</p>