snk Posted May 8, 2010 Share Posted May 8, 2010 hello, there is a script that i have to EXECUTE (it doesnt turn any result) in order to use a custom API. Script looks like https://external-domain.com/addaccount.cgi?yourUniqueCode=76539;[email protected];email-name=cusomer_name;date=register_date;bonus=offer_code I was thinking to use header redirection but apart i dont know if its right to do that, I need to call some further functions made by me, such sending e-mail to me with extra info, adding values to my personal database and so on. My problem is that i dont know how to execute the above script and then continue the flow to next functions written by me. Thank you for any help Link to comment https://forums.phpfreaks.com/topic/201073-call-a-script-from-other-page/ Share on other sites More sharing options...
trq Posted May 8, 2010 Share Posted May 8, 2010 file_get_contents should suffice. Link to comment https://forums.phpfreaks.com/topic/201073-call-a-script-from-other-page/#findComment-1054929 Share on other sites More sharing options...
snk Posted May 9, 2010 Author Share Posted May 9, 2010 thank you Link to comment https://forums.phpfreaks.com/topic/201073-call-a-script-from-other-page/#findComment-1055239 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.