Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Jochem Maas
Matthias S. wrote: > hi jochem, > > thanks. i've tripplechecked on the names, but just in case I miss something don't just read the code - run it with suitable var_dump() statements and view the output to determine what is *really* happening. 2 possiblities/probabilities: 1. your misspelling th

RE: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Edward Kay
> > Age Alter: > > > > Sorry - I was a bit too hasty with the send button. I've just seen that you've also changed the name in the script too. I also see that you have a semi-colon outside the style attribute. I don't think this will help matters. Get your HTML to validate and that will probably

RE: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Németh Zoltán
On h, 2007-02-12 at 14:09 +, Edward Kay wrote: > > Age Alter: > > > > > > There's your problem: name="txtAge". For your PHP script to work you need > name="_txtAge". in his last email the OP has the name "txtAge" in his php script also... greets Zoltán Németh > > PS: You should also have

RE: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Edward Kay
> Age Alter: > > There's your problem: name="txtAge". For your PHP script to work you need name="_txtAge". PS: You should also have quotes around the 50 in the maxlength attribute. Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Németh Zoltán
On h, 2007-02-12 at 14:54 +0100, Matthias S. wrote: > hi jochem, > > thanks. i've tripplechecked on the names, but just in case I miss something > obvious, I'll post the entire snippets. > > +++ HTML form +++ > > > > Name Name: > > > Email-Address E-Mail > Adresse: > > > Age Alter: > I'm

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Matthias S.
hi jochem, thanks. i've tripplechecked on the names, but just in case I miss something obvious, I'll post the entire snippets. +++ HTML form +++ Name Name: Email-Address E-Mail Adresse: Age Alter: Gender Geschlecht: female | weiblich male | mÃnnlich Anything more to say? Noch ein Komm

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Németh Zoltán
On h, 2007-02-12 at 14:16 +0100, Matthias S. wrote: > hi zoltan, > > thanks for your reply. i've tried the -f switch but the only effect it has > is an error message ;) > > Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth > parameter is disabled in SAFE MODE. ehh, sorr

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Jochem Maas
Matthias S. wrote: > hi zoltan, > > thanks for your reply. i've tried the -f switch but the only effect it has > is an error message ;) > > Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth > parameter is disabled in SAFE MODE. which another way of saying 'my hosting en

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Matthias S.
hi zoltan, thanks for your reply. i've tried the -f switch but the only effect it has is an error message ;) Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. as for the age value: it is simply incorrect because it is always empty...

Re: [PHP] Beginner Questions regarding Mail and Forms

2007-02-12 Thread Németh Zoltán
On h, 2007-02-12 at 11:13 +0100, Matthias S. wrote: > Hi there, > > I've got two bloody beginner questions: I've created a form with various > text input fields. One is to hold a numeric value (age). Upon submission, I > try to retrieve the value of this field like this: > > $age = $_POST['_txtAg