Re: FN-FORUM curl 302 follow
date posted 15th September 2002 17:06
----- Original Message -----
From: "Aral Balkan" [EMAIL REMOVED]
> Does anyone know off the top of their heads how to make curl follow a 302
> redirect? I'm using libcurl in PHP.
If I remember correctly, you use the --location command line switch.
This also works for a 307 (which is what most servers should now use in
place of the deprecated 302)
Hope this helps, and that my memory isn't too rotten :)
Mark