Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
Hmmm... there's something wrong with the form sending its values. Try echo ""; print_r($GLOBALS); echo ""; On 12/15/06, Emiliano <[EMAIL PROTECTED]> wrote: ok, this is what I get: Array ( ) PHP Notice: Undefined index: val1 in /net/people/user/public_html/cgi-bin/mail.php on line 18 PHP No

Re: [PHP] POST in Apache server

2006-12-15 Thread Emiliano
ok, this is what I get: Array ( ) PHP Notice: Undefined index: val1 in /net/people/user/public_html/cgi-bin/mail.php on line 18 PHP Notice: Undefined index: val2 in /net/people/user/public_html/cgi-bin/mail.php on line 20 -emiliano > On your script page, add > > echo ""; > print_r($_RE

Re: [PHP] POST in Apache server

2006-12-15 Thread Richard Lynch
On Fri, December 15, 2006 10:48 pm, Emiliano wrote: > oh ok, I understand that. However, my problem is different: I need > those values that instead are not found. The question is: why the POST > in the chunck of code inside the html doesn't work? Why is the php > script not finding the values post

Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
On your script page, add echo ""; print_r($_REQUEST); echo ""; and tell us the result. On 12/15/06, Emiliano <[EMAIL PROTECTED]> wrote: Yes Casey, I'm using the submit button -emiliano > >> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: > >> > PHP Notice: Undefined index: val1 in > >>

Re: [PHP] POST in Apache server

2006-12-15 Thread Emiliano
Yes Casey, I'm using the submit button -emiliano > >> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: > >> > PHP Notice: Undefined index: val1 in > >> > /net/people/user/public_html/cgi-b= > >> > in/script.php on line 14 > > >> > >> http://php.net/isset > >> > > > On Fri, December 15, 2006 8

Re: [PHP] POST in Apache server

2006-12-15 Thread Emiliano
oh ok, I understand that. However, my problem is different: I need those values that instead are not found. The question is: why the POST in the chunck of code inside the html doesn't work? Why is the php script not finding the values posted in the html? Thanks, -emiliano > >> On Fri, Decembe

Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
Did you add a submit button to the page? On 12/15/06, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: >> > PHP Notice: Undefined index: val1 in >> > /net/people/user/public_html/cgi-b= >> > in/script.php on line 14 >> >> http://php.net/isset >> O

Re: [PHP] POST in Apache server

2006-12-15 Thread Richard Lynch
>> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: >> > PHP Notice: Undefined index: val1 in >> > /net/people/user/public_html/cgi-b= >> > in/script.php on line 14 >> >> http://php.net/isset >> On Fri, December 15, 2006 8:15 pm, Emiliano wrote: > sorry for bothering you, but can you please gi

Re: [PHP] POST in Apache server

2006-12-15 Thread Emiliano
Hi Richard, sorry for bothering you, but can you please give me few more details about how to use isset to solve my problem? -e > On Fri, December 15, 2006 7:39 pm, Emiliano wrote: > > PHP Notice: Undefined index: val1 in > > /net/people/user/public_html/cgi-b= > > in/script.php on line 14 >

Re: [PHP] POST in Apache server

2006-12-15 Thread Richard Lynch
On Fri, December 15, 2006 7:39 pm, Emiliano wrote: > PHP Notice: Undefined index: val1 in > /net/people/user/public_html/cgi-b= > in/script.php on line 14 > PHP Notice: Undefined index: val2 in > /net/people/user/public_html/cgi-b= > in/script.php on line 16 http://php.net/isset -- Some people h