Jump to content

Archived

This topic is now archived and is closed to further replies.

Vinze

Sending POST data without using a form

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
But the PHP manual says it's an alias of fwrite(), which is [quote]Binary-safe file write[/quote]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.