Jump to content

cURL question


rikker

Recommended Posts

Is there a way to use CURL to post form data to another site and make the URL change from the current php script to the url of the site that I curl to?

Right now when i test this the URL remains as the name of mu script ... ie> www.mysite.com/curl.php instead of changing to the address I am doing the curl to. I tried setting this variable curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); but it only changes to the new sites URL when I click a link on that site.

 

I want it to show the new site address right away.

Link to comment
https://forums.phpfreaks.com/topic/48133-curl-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.