Re: [PHP] METHOD=POST not worikng

2006-05-15 Thread IraqiGeek
On Tuesday, May 16, 2006 1:20 AM GMT, Richard Lynch <[EMAIL PROTECTED]> wrote: On Sat, May 13, 2006 9:16 am, IraqiGeek wrote: I'm learning PHP on a Debian Etch with Apache 2.0.54 and PHP 4.3.10, and using Firefox 1.5.3 on a Windows XP box to browse the sample site. I wrote a small form to get

Re: [PHP] METHOD=POST not worikng

2006-05-15 Thread Richard Lynch
the texts in a paragraph > while($row=mysql_fetch_array($result)){ > echo("".$row["Text"].""); > } > > //when clicked, this link will load this page with the text >

Re: [PHP] METHOD=POST not worikng

2006-05-15 Thread Richard Lynch
On Sat, May 13, 2006 9:16 am, IraqiGeek wrote: > I'm learning PHP on a Debian Etch with Apache 2.0.54 and PHP 4.3.10, > and > using Firefox 1.5.3 on a Windows XP box to browse the sample site. I > wrote a > small form to get user input. If I use METHOD=GET, then the form works > fine, > without an

Re: [PHP] METHOD=POST not worikng

2006-05-14 Thread Rabin Vincent
On 5/13/06, IraqiGeek <[EMAIL PROTECTED]> wrote: [snip] test script //If I use METHOD=GET here, the script works flawlessly [/snip] The form action should be $_SERVER['PHP_SELF']. Here case matters, since this is a string and not a variable name. If action is empty, I believe browsers simpl

Re: [PHP] METHOD=POST not worikng

2006-05-13 Thread Chris
IraqiGeek wrote: On Sunday, May 14, 2006 2:01 AM GMT, chris smith <[EMAIL PROTECTED]> wrote: On 5/14/06, IraqiGeek <[EMAIL PROTECTED]> wrote: On Saturday, May 13, 2006 4:59 PM GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: AFAIK it should be working just fine. I'm not aware of POST not

Re: [PHP] METHOD=POST not worikng

2006-05-13 Thread IraqiGeek
On Sunday, May 14, 2006 2:01 AM GMT, chris smith <[EMAIL PROTECTED]> wrote: On 5/14/06, IraqiGeek <[EMAIL PROTECTED]> wrote: On Saturday, May 13, 2006 4:59 PM GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: AFAIK it should be working just fine. I'm not aware of POST not working in any circu

Re: [PHP] METHOD=POST not worikng

2006-05-13 Thread chris smith
On 5/14/06, IraqiGeek <[EMAIL PROTECTED]> wrote: On Saturday, May 13, 2006 4:59 PM GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > AFAIK it should be working just fine. I'm not aware of POST not > working in any circumstance other than PHP not working at all. > > Can you post your test scri

Re: [PHP] METHOD=POST not worikng

2006-05-13 Thread IraqiGeek
layed. $self=$_SERVER['PHP_SELF']; echo("". "Add a text"); endif; ?> Thanks. Regards, IraqiGeek www.iraqigeek.com My computer isn't that nervous... it's just a bit ANSI. Original Message --

[PHP] METHOD=POST not worikng

2006-05-13 Thread IraqiGeek
Hi all, I'm learning PHP on a Debian Etch with Apache 2.0.54 and PHP 4.3.10, and using Firefox 1.5.3 on a Windows XP box to browse the sample site. I wrote a small form to get user input. If I use METHOD=GET, then the form works fine, without any glitches. However, if I use METHOD=POST in the