![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2002
Location: NJ
Posts: 1,215
|
ARG! Need php/cURL help!
I have a script thats sending data using cURL. After I set all the options and call curl_exec(), I try calling header("Location: thanks.htm") right afterwards which doesnt seem to work.
But if I just comment out the curl_exec() statement, it redirects perfectly fine, but then my script never sends the data! Any php gurus got any insight? Please! lol |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Only thing i can think of is cURL's sending http headers - and since the headers are sent already, you can't send any more (the header redirect). that's just a guess though.
could you write out to the browser a js location.redirect after the curl code executes ? dunno though. haven't played too much with curl. sorry.
__________________
Your post count means nothing. |
![]() |
![]() ![]() ![]() ![]() ![]() |