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

    Join Date
    Mar 2000
    Rep Power

    I'm wondering if anybody knows of a function or statement similar to perls read(STDIN, $input, $ENV{'CONTENT_LENGTH'}); to read in a forms content string so that I can manipulate each variable/value pair independently of their values.

    The reason for this is that I have a complex application form which has many inputs and I would like to put these values through a validation filter without explicitly naming them individually.

    My other option is to make an array of the variable names and use this in a for loop to go through each variable/value pair. This is fine but it would be handier to let PHP do that for me.
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Niagara Falls (On the wrong side of the gorge)
    Rep Power
    $HTTP_POST_VARS is an array containing POST method variables passed to the script with the index being the name and the value being the value.

Similar Threads

  1. Uploading Files
    By vivekjain in forum ASP Programming
    Replies: 0
    Last Post: February 17th, 2004, 12:21 AM
  2. database access using thread
    By padmini in forum Visual Basic Programming
    Replies: 3
    Last Post: February 6th, 2004, 01:38 AM
  3. best way to send email validation
    By njcallen in forum PHP Development
    Replies: 2
    Last Post: January 28th, 2004, 11:02 AM
  4. Multiple Cookies for user
    By Chris24 in forum HTML Programming
    Replies: 0
    Last Post: January 22nd, 2004, 10:27 AM
  5. php user levels
    By dynasty in forum PHP Development
    Replies: 1
    Last Post: January 20th, 2004, 03:01 PM

IMN logo majestic logo threadwatch logo seochat tools logo