Vinze Posted July 10, 2006 Share Posted July 10, 2006 Hey, I was wondering whether there was a way to send POST data without using a form.I found [url=http://www.zend.com/zend/spotlight/mimocsumissions.php?article=mimocsumissions&kind=sl&id=198&open=1&anc=0&view=1]this[/url] but it involves using fputs() (which is an alias of fwrite()) which of course needs write permission.Any thoughts? Link to comment https://forums.phpfreaks.com/topic/14198-sending-post-data-without-using-a-form/ Share on other sites More sharing options...
kenrbnsn Posted July 10, 2006 Share Posted July 10, 2006 The fputs() in the example referenced is not writing to a file, but is writing to a TCP/IP socket. You can also look at the CURL functions.Ken Link to comment https://forums.phpfreaks.com/topic/14198-sending-post-data-without-using-a-form/#findComment-55660 Share on other sites More sharing options...
Vinze Posted July 10, 2006 Author Share Posted July 10, 2006 But the PHP manual says it's an alias of fwrite(), which is [quote]Binary-safe file write[/quote] Link to comment https://forums.phpfreaks.com/topic/14198-sending-post-data-without-using-a-form/#findComment-55666 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.