Rifts Posted December 14, 2010 Share Posted December 14, 2010 Can forms post to other sites? say I have 2 sites site1.com and site2.com can my form on site1.com have <form post="http://www.site2.com/getform.php"> will that work? Link to comment https://forums.phpfreaks.com/topic/221647-i-feel-like-i-should-know-this-forms/ Share on other sites More sharing options...
marain Posted December 14, 2010 Share Posted December 14, 2010 u can do it. but only use url to pass. site 1 code $value = $_post["name"]; and then use javascript open "site2.com/xxx.php?name="+$value site 2 code $value = $get["name"] but the values is not safe sorry, im english is not good im chinese Link to comment https://forums.phpfreaks.com/topic/221647-i-feel-like-i-should-know-this-forms/#findComment-1147263 Share on other sites More sharing options...
geekisthenewsexy Posted December 15, 2010 Share Posted December 15, 2010 yes, why not? Link to comment https://forums.phpfreaks.com/topic/221647-i-feel-like-i-should-know-this-forms/#findComment-1147550 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.