Page 1 of 1

[Solved] Submitting a Form from php

Posted: Thu Jan 13, 2005 8:33 am
by waskelton4
Hello everyone..

I realize that posting a form is something that is done client side but I'm really needing to have some data sent to a page and "$_GET"ing it through the URL isn't an option.

The page that is receiving the data is actually on a different server so I don't guess a session var will carry over there. (is that correct?)

What I'd like to do is $_POST the data over to the server but I'd like to do it automatically and do it server side via PHP but I'm not sure how..

Anyone know of a way?

Many Thanks!

Will

Posted: Thu Jan 13, 2005 8:35 am
by feyd
look into curl

[solved] Submitting a Form from php

Posted: Thu Jan 13, 2005 10:37 am
by waskelton4
Fantastic!

Thanks feyd! just what I needed.

i actually found a specific example here via the php docs..

http://curl.haxx.se/libcurl/php/example ... lepost.php

will certianly use this more as I go

thanks again

ws