Jump to content

POST without using form


DeezOrdr

Recommended Posts

I don't think this is a newbie question, but I didn't know where to put it else.

I need to make a script that will send POST data to other pages without using the form on that page. For example, I have 2 domains, each on different server, lets call them 'www.sentpost.com' & 'www.receivepost.com'. Now what I want is to POST data from www.sendpost.com to www.receivepost.com (similiar like when you type www.somesite.com/index.php?show=news in your browser (i need to do this but with using the POST, not GET)).

Is that possible and how can I do it?

I hope you understand the question and I apollogiese for my bad english. BTW, u r the best. Your tutorials helped me a lot.
Link to comment
https://forums.phpfreaks.com/topic/7097-post-without-using-form/
Share on other sites

You couldpossibley write the header with the post info within but that would be hardcoded - no room for any dynamic content within (unless you used php to generate the header string of course) - otherwsie you would need to use a form.
Link to comment
https://forums.phpfreaks.com/topic/7097-post-without-using-form/#findComment-25788
Share on other sites

Archived

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

×
×
  • Create New...

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.