Thread: Handling Forms

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

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    Hi!
    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?
    Thanx
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    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 -
    shiju.dreamcenter.net

    "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, 09:08 PM
  2. One confirmation email, two different forms
    By sisleysusie in forum PHP Development
    Replies: 3
    Last Post: January 26th, 2004, 10: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, 09:28 PM
  4. Handling 'sticky' search forms
    By Robynls in forum PHP Development
    Replies: 2
    Last Post: July 10th, 2003, 01:25 AM
  5. custom sessions + custom error handling = ?
    By spiralOut in forum PHP Development
    Replies: 3
    Last Post: February 26th, 2003, 04:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo