Steve,

Not that this isn't a good list, but you'd probably find a solution to your problem quicker on a php-list. Take a look here...

http://us3.php.net/mailing-lists.php

And the list that would help you the most would be the "General user list" under the "General mailing lists for PHP users" heading. I just browsed your emails on this topic, but I can say that since you're using a php version greater than 4.2, the globals is a good place for you to start ($_POST, $_GET, $_FILES, $_SESSION, $_SERVER, etc.)

Steve Miller wrote:

Hmmm...never thought of that. For now, to get everything to work, I am
hard-coding the names of the fields into the script, but it is not what I
want to do in the end. I have to make this up-gradeable, and hard-coding is
not the way to go.

After I have all working, I'll take a look at using $GLOBALS.

Thanks for all your help.

Steve



Steve;

I've checked the argument list output of a PHP form program and is same as
PERL, so you're good there. PHP uses collections, where the variable of your
program are stored in $GLOBALS. Have you thought of referencing the
information the following way? Using the form names themselves as indexes to
$GLOBALS to extract their values?


foreach ($GLOBALS as $Key=>$Value) /* every variable */ { if this value then upload code if this then, etc }


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub


________________ http://www.wdvl.com _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to