submitting with 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
hward
Forum Contributor
Posts: 107
Joined: Mon Apr 19, 2004 6:19 pm

submitting with php??

Post by hward »

I have an html page that submits to someone elses page with a button and what i would like to do is when someone clicks a certain button on my page that button would do what it does now but would also do the click and submit on the other button but only return the results from my site and not show any of the return from the other site. Is there any way to do this? Not really sure if i explained it right or not.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Re: submitting with php??

Post by JayBird »

hward wrote:I have an html page that submits to someone elses page with a button and what i would like to do is when someone clicks a certain button on my page that button would do what it does now but would also do the click and submit on the other button but only return the results from my site and not show any of the return from the other site. Is there any way to do this? Not really sure if i explained it right or not.
It may help if you re-read your post and rewrite it using punctuation. That first sentence was way too long!
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

This thing can be accomplished easily with JavaScript. :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if you used php to process both of these forms as one single form, you can split off the data needed to send to the other site through curl
Post Reply