List Info

Thread: Php Help




Php Help
user name
2005-12-20 21:09:38
I am new to PHP and I am trying to figure out the best way
to
accomplish a programming task.  What I need is to take the
values from
a webbased Php form and submit them to various different
forms on other
URLs.

So my site "A" has a php form with several fields.
 I take user values
from the users submission on site "A"'s php form
and populate and
submit a form on another website called site "B"

This submission on site "B" would be invisible to
the user that
submitted the form on site "A".

Also, the fields on site "A" may not be in the
same order as the other
website so I may need to reformat how the fields are
submitted to the
other website once the user hits submit on site
"A".

The form on site "b" may or may not be php based.

Can this be done securly in php and if so can anyone comment
on how?
If not anyone know how to accomplish this or where I could
look for
help?

Thank you.

Php Help
user name
2005-12-25 03:36:55
The only way i could think of it being done is if form B
used the _GET
instead of the post method.

then you could take the things submitted in form A, open a
socket or
header URI and just do something like this

http://websi
tehere.com/formb.php?thing1=$_POST[ya]&thing2=$_POST
[so]
...etc until all  the things worked. Other then that.. im
not quiet
sure how you would go about doing something like you are
talking about.

Can i ask, why do you want to do this anyway?

Php Help
user name
2006-01-11 05:58:02
yes,you can submit values to any url but the site accepting
must get or
post variables,name of ur input fields must be same as
required by
accepting url.accepting site may or may not of php

Php Help
user name
2006-01-12 13:29:52
Thank you for your reply

Regards,
Manan

On 1/11/06, gill < gill.cheemagmail.com">gill.cheemagmail.com> wrote:

yes,you can submit values to any url but the site accepting must get or
post variables,name of ur input fields must be same as required by
accepting url.accepting site may or may not of php


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )