Jump to content

Archived

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

DeezOrdr

POST without using form

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
You could use the [a href=\"http://www.php.net/curl\" target=\"_blank\"]CURL[/a] functions.

Ken

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.