MalzaaR Posted October 15, 2011 Share Posted October 15, 2011 Hi, I would like to know how to get The Value Of An Hidden TextBox From an External Website than Mine. I'm Coding an Addons for CCBChurch.com (mychurch.ccbchurch.com/app/trx_submit_bp.php), This is a donation website, They want me to code an addons so people can place it on their website and people can donate. I made it in cURL with POST but they generate a TimeStamp and a TimeStamp encoded, The 2 are on mychurch.ccbchurch.com/app/trx_submit_bp.php on hidden textbox. I would like to get the TS and TSH from the hidden textbox on the website, Is that possible ? I would too like to put it in Variable $ts and $tsh... Thanks ! Quote Link to comment https://forums.phpfreaks.com/topic/249185-get-value-from-textbox-external-website/ Share on other sites More sharing options...
xyph Posted October 15, 2011 Share Posted October 15, 2011 An API would be a better solution, but I don't quite understand the intricacies of what you're trying. When I go to mychurch.ccbchurch.com/app/trx_submit_bp.php it only outputs 'ERROR: Invalid Type' Quote Link to comment https://forums.phpfreaks.com/topic/249185-get-value-from-textbox-external-website/#findComment-1279648 Share on other sites More sharing options...
MalzaaR Posted October 16, 2011 Author Share Posted October 16, 2011 It's http://mychurch.ccbchurch.com/app/trx_submit_bp.php?type=public_gift I'm only adapting for 1 other website a way to donate to ccbchurch with cURL, It need to have the ts and tsh that are located on the page itself onto the POST data on the other page Thanks Quote Link to comment https://forums.phpfreaks.com/topic/249185-get-value-from-textbox-external-website/#findComment-1279811 Share on other sites More sharing options...
jcbones Posted October 16, 2011 Share Posted October 16, 2011 I'm pretty sure the timestamp hash would be per user, and is a way the site is keeping people from doing what you are trying to do (as that must match your session, or cookie). Have you contacted the site? They can create a workaround to this: API Quote Link to comment https://forums.phpfreaks.com/topic/249185-get-value-from-textbox-external-website/#findComment-1279826 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.