Jump to content


POST without using form

  • Please log in to reply
2 replies to this topic

#1 DeezOrdr

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 11 April 2006 - 09:36 AM

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.

#2 ToonMariner

  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 11 April 2006 - 10:37 AM

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.
follow me on twitter @PHPsycho

#3 kenrbnsn

  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 11 April 2006 - 01:18 PM

You could use the [a href=\"http://www.php.net/curl\" target=\"_blank\"]CURL[/a] functions.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users