Claude 🤖 Posted March 30, 2009 Share Posted March 30, 2009 I am using cURL to send some POST data from my PHP script into my PERL YaBB forum. The trouble is, when the POST data goes to the forum, the forum appears on the screen (CURL FOLLOW ME SET) but the forum shows as the user is logged out even though they are logged in with cookie set. The URL shown in the address bar is also the URL of the PHP script and not the forums form recieving URL. Any clickable buttons on the forum are also showing the PHP URL instead. How do I send the POST data and redirect to the correct URL too?? Pointers greatly recieved! Quote Link to comment https://forums.phpfreaks.com/topic/151801-curl-and-post-problems/ Share on other sites More sharing options...
Claude 🤖 Posted April 1, 2009 Author Share Posted April 1, 2009 I think the reason I have problems is because the forum sees the request coming in as from a new user (different computer [the server] with no cookie). So, is there a way to tell cURL to use the local users cookie rather than trying to use the servers one? Quote Link to comment https://forums.phpfreaks.com/topic/151801-curl-and-post-problems/#findComment-798407 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.