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? Quote 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 Quote 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] 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.