Thread: A form question

    #1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    6
    Rep Power
    0
    Hi

    I have a form wich asks for some info (name, email adres, homepage url etc)

    A form has a action=http://url tag
    but what if i have 100 action tags? I mean, what if i want to send that form to 100 url's that i place in a text file. So i want to submit the form with the data to every url in that txt file. But i want to know if the form is submitted or not? and the form has to wait to submit the 2nd url before the first url is completed, and the 3rd has to wait on the 2nd etc

    Anyone has an idea how to start this ?

    thnx

    ------------------
    Until next time, I'll Remain!!
    Quote the Dokus:"NeverMore!"
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    58
    Rep Power
    15
    Hmm... Tricky one.
    Can you use GET method?
    In that case you can fsockopen() in a loop, with CGI vars (including the submitbutton if you have to).

    OR! You could probably hack it with some JavaScript (clientside), and perhaps open new windows and stuff. But then I don't know how to have the script waiting for a complete request as you can with fsockopen().

    Hope I gave you some hints.

    ------------------

    peterbe.com

Similar Threads

  1. Uploading form question.
    By brian110872 in forum PHP Development
    Replies: 4
    Last Post: February 15th, 2004, 01:35 PM
  2. Log form information to a text file - Question
    By LotusHead in forum PHP Development
    Replies: 22
    Last Post: February 12th, 2004, 08:31 PM
  3. HTTP Error 400: Bad Request, with basic form
    By crackwombat in forum PHP Development
    Replies: 1
    Last Post: January 23rd, 2004, 06:40 PM
  4. Question about creating a nice HTML online form.
    By frankyvalley in forum HTML Programming
    Replies: 7
    Last Post: January 22nd, 2004, 10:30 AM
  5. question about mysql query for html search form
    By adamscaa in forum MySQL Help
    Replies: 5
    Last Post: January 16th, 2004, 08:59 AM

IMN logo majestic logo threadwatch logo seochat tools logo