Welcome Guest [Log In] [Register]
Add Reply
cURL & Redirection problems; help needed!
Topic Started: Mar 31 2009, 10:58 AM (245 Views)
Lectrician

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 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!
Offline Profile Quote Post Goto Top
 
Lectrician

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?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Web-Based Programming Support · Next Topic »
Add Reply

Banner and Logo by TheKeith