|
Posted by Captain Paralytic on 07/13/07 11:48
On 13 Jul, 12:45, Mikhail Kovalev <mikhail_kova...@mail.ru> wrote:
> I'm sending a html form with cURL to some file.php which does
> something with the sent data and at the end redirects me to some other
> URL, which is different every time, something like this:
>
> $ch = curl_init();
> curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
> curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
> ...
> $result = curl_exec($ch);
>
> $result here is a string of the resulting page at the end
>
> I need to return the final URL of where I have been redirected when
> sending the request
>
> anyone has an idea?=)
> thanks
Where do you need to return it to, the site that sent it?
Navigation:
[Reply to this message]
|