weballergy Posted December 16, 2006 Share Posted December 16, 2006 Hi all,Lets say i want ,to transfer some data via post method without starting a form.For exm: user clicks on a link and i want to send some info about user choise...How can i do it wihtout JavaScript (if possible ,if not i would like to know it anyway)?10x Link to comment https://forums.phpfreaks.com/topic/30866-post-transfer-without-form/ Share on other sites More sharing options...
fooDigi Posted December 16, 2006 Share Posted December 16, 2006 with AJAX you can POST vars, but that does, of course, entail much javascript. if you want to somewhat easily implement this.. look into the prototype.js module. i use it quite often. gl Link to comment https://forums.phpfreaks.com/topic/30866-post-transfer-without-form/#findComment-142337 Share on other sites More sharing options...
heckenschutze Posted December 16, 2006 Share Posted December 16, 2006 try with the cURL library ([url=http://php.net/curl]http://php.net/curl[/url])Or craft the headers yourself, and send them via [url=http://php.net/header]header();[/url] -> but you'll need to look into the HTTP protocol for this... Link to comment https://forums.phpfreaks.com/topic/30866-post-transfer-without-form/#findComment-142340 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.