Thread: Handling Forms

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

    Join Date
    May 2000
    Rep Power
    Im trying to write a universal Formhandling function. IS there a variable as $formfields in Perl, that stores all the form fields in an array? In PHP as far as i got i have to write $name, $email and so on all the time and it takes a lotta work to costumize this for every form. <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>$HTTP_POST_HEADERS[$index][/code] didn't work for me.
    Any suggestions?
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power
    If you want to see all the variables in a page then you can use $GLOBALS in php.

    Use $HTTP_POST_VARS for dumping all the variables to the screen.

    SR -

    "The fear of the LORD is the beginning of knowledge..."

    [This message has been edited by Shiju Rajan (edited May 20, 2000).]

Similar Threads

  1. pdf forms?
    By bellcom in forum Web Design Help
    Replies: 0
    Last Post: January 31st, 2004, 10:08 PM
  2. One confirmation email, two different forms
    By sisleysusie in forum PHP Development
    Replies: 3
    Last Post: January 26th, 2004, 11:26 PM
  3. "object does not support... " javascript error when handling 2 forms
    By tombraider99 in forum JavaScript Development
    Replies: 5
    Last Post: August 19th, 2003, 10:28 PM
  4. Handling 'sticky' search forms
    By Robynls in forum PHP Development
    Replies: 2
    Last Post: July 10th, 2003, 02:25 AM
  5. custom sessions + custom error handling = ?
    By spiralOut in forum PHP Development
    Replies: 3
    Last Post: February 26th, 2003, 05:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo