RE: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Mikey
The variable is $_POST - PHP is case sensitive... Mikey > -Original Message- > From: Wade [mailto:[EMAIL PROTECTED]] > Sent: 13 January 2003 16:31 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] initialize variables (was: Using the GET Method) > > > 0113200

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Wade
01132003 0826 CST Ok. This code is right off the PHP.net site. I changed the action="action.php" to action="form.php" only. But, when I run the page I receive "Hi . You are years old." Only. Is this because I have global_variables turned off, even through Im using $_post? Wade ** PH

RE: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Sean Malloy
[mailto:[EMAIL PROTECTED]] Sent: Monday, 13 January 2003 8:22 PM To: Stephen Edmonds Cc: PHP Windows Helplist Subject: Re: [PHP-WIN] initialize variables (was: Using the GET Method) Just wanted to say thanks to those of you who've helped me on this one! =) Thanks... One more question to clari

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Dash McElroy
On Mon, 13 Jan 2003, Bobo Wieland wrote: > Just wanted to say thanks to those of you who've helped me on this one! =) > Thanks... > > One more question to clarify one thing, though: > > if someone is calling 'index.php' like this: 'index.php?i=10' > > and on that page I have: > > while ($i <= 10)

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Bobo Wieland
n.com/bobo/ www.elstudion.com - Original Message - From: "Stephen Edmonds" <[EMAIL PROTECTED]> To: "Bobo Wieland" <[EMAIL PROTECTED]> Cc: "PHP Windows Helplist" <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 4:15 PM Subject: Re: [PHP-

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-12 Thread Stephen Edmonds
- Original Message - From: "Bobo Wieland" <[EMAIL PROTECTED]> To: "Sean Malloy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 2:59 PM Subject: [PHP-WIN] initialize variables (was: Using the GET Method) > Please, explain

[PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-12 Thread Bobo Wieland
Please, explain this to me, because I couldn't figure it out by myself... If register_globals is set to 'off', and because it's good practice, you should allways initzialize your variables? So I should write: $test = $_POST['test']; and then I can use $test as usuall... But what about local varia