[Solved] Submitting a Form from php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
waskelton4
Forum Contributor
Posts: 132
Joined: Mon Sep 09, 2002 6:42 pm

[Solved] Submitting a Form from php

Post 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
Last edited by waskelton4 on Thu Jan 13, 2005 10:38 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

look into curl
waskelton4
Forum Contributor
Posts: 132
Joined: Mon Sep 09, 2002 6:42 pm

[solved] Submitting a Form from php

Post 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
Post Reply