snk Posted August 9, 2008 Share Posted August 9, 2008 Hello, I have a form and I want to send the gathered data to an external link but I wouldnt like to show it, thus I submit the data via post to an internal.php and later this internal.php will construct the link with form's variables. My problem is that I dont know, after links is made, how to trigger it. I was thinking curl but i tried and didnt work. link is something like https://external-domain.com/external-link.cgi?var1=kjd;var2=333;var3=name Thank you in advance. Link to comment https://forums.phpfreaks.com/topic/118888-how-to-follow-actiavte-a-link/ Share on other sites More sharing options...
ratcateme Posted August 9, 2008 Share Posted August 9, 2008 what was wrong with curl. by default it will output the transfer but by adding this option it will return it as a string and if you don't echo it you wont get any output curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); Scott. Link to comment https://forums.phpfreaks.com/topic/118888-how-to-follow-actiavte-a-link/#findComment-612245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.