How to I use curl to send this header?
Posted: Thu Mar 05, 2009 9:18 am
I am trying to use curl to substitute for this header call
The reason why I do not wish to use header() directly is because I don't want the user to be redirected to the page. I have checked through curl on the php site but can't seem to find any examples of sending this type of header strings. What curl options should I set?
Code: Select all
header('HTTP/1.1 302 Found');