forms

General discussions related to php

Moderators: macek, egami, gesf

Paul knapp
New php-forum User
New php-forum User
Posts: 6
Joined: Fri Jan 31, 2003 10:40 am

forms

Postby Paul knapp » Fri Jan 31, 2003 10:48 am

Hi all :)

Does anyone know how I could submit 6 forms all going to different sites with only one submit button?

Thanks for your time guys :)

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Re: forms

Postby Oleg Butuzov » Sun Feb 02, 2003 12:49 am

Paul knapp wrote:Hi all :)

Does anyone know how I could submit 6 forms all going to different sites with only one submit button?

Thanks for your time guys :)


http://www.php.net/manual/en/function.fsockopen.php

Paul knapp
New php-forum User
New php-forum User
Posts: 6
Joined: Fri Jan 31, 2003 10:40 am

Postby Paul knapp » Sun Feb 02, 2003 5:38 am

Yet again the info you supplied me is totally useless...
Thanks for you help....'NOT'

User avatar
xlordt
New php-forum User
New php-forum User
Posts: 34
Joined: Thu Dec 12, 2002 9:00 pm
Location: NJ
Contact:

Postby xlordt » Sun Feb 16, 2003 2:01 pm

hmm you really get assholes everyware.. even though you try to help them.. they are still assholes :x

*JaH*
New php-forum User
New php-forum User
Posts: 80
Joined: Fri Jan 31, 2003 4:18 pm

Postby *JaH* » Sun Feb 16, 2003 4:45 pm

yeah indeed, quite rude....but if ya wanna submit 6 forms, you will have to use js that's for sure...just make 2 frames, one with all the forms...if you click the submit button just parse the data of every form one by one to the 2nd frame...that's one solution at least....there are more of them, for instance what Pejone was pointing out, just post yur data to one php and it'll make connections to the right addresses and posts the data
(so he's remark, although short, wasn't bullshit :))

Hurkle
New php-forum User
New php-forum User
Posts: 36
Joined: Tue Jan 07, 2003 8:45 am
Location: Minnesota, USA

Postby Hurkle » Tue Feb 18, 2003 4:19 pm

Hey, Paul Knapp, just so you know, PejOne gave you exactly the reference you needed. You have to dig a little deeper into the link he gave you, but if you do, you'll find that the fsockOpen function is actually an excellent way to do what you asked. As a matter of fact, I would reccomend this approach over any other, as it avoids the use of irksome client side scripting.

Please take a look before telling someone the excellent advice they offered is worthless.....

User avatar
pootergeist
New php-forum User
New php-forum User
Posts: 191
Joined: Wed Jan 29, 2003 7:11 am
Location: UK
Contact:

Postby pootergeist » Wed Feb 19, 2003 4:16 am

his reaction is quite understandable really, after all he has already coded a system wherein he's trying to post 6 forms from one page to all different pages, so he's probably not using the best approach in the first place.

I'd suggest trying to sort out the architecture of your current backend first before delving socket programming. There are very very few instances where you'd actually want to seperate form data and I'm not even going to mention security issues.


Return to “PHP General”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest