Re: PHP textarea

2003-01-06 Thread Yasuo Yamasaki
Hi Colin

Sorry for late, because I went vacation.

I received "GET test=2" from "a.php?test=2".

In PHP 4.2, I believe that my test script has an error,
and your script is correct.

I'll wait for updating "phorum" program.

Thank you!

   -- Yasuo Yamasaki <[EMAIL PROTECTED]>

At Fri, 20 Dec 2002 15:45:49 +,
Colin Coles wrote:
> 
> Does this work for you, try first with the submit button then with: 
> a.php?test=2
> 
> 
>  
>  
>  
>  if($_SERVER[REQUEST_METHOD] == "POST"){
> foreach($_POST as $key => $value){
> $$key = $value;
> echo "POST $key=${$key}";
> }
> } else {
> foreach($_GET as $key => $value){
> $$key = $value;
> echo "GET $key=${$key}";
> }
> 
> }
> ?>
> 
> 
> what output do you get?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: PHP textarea

2002-12-20 Thread Yasuo Yamasaki
Hi,

Thank you for your reponse.
I tried $_POST['body'] and recieve a same result.
hmm, I will compile PHP 4.1.2 tomorrow.

Thank you anyway.

  -- Yasuo Yamasaki


slime% cat ~/public_html/b.php






slime% w3m http://slime/~yamasaki/a.php

  > [] [GO]

(input "aaa" and press "GO" buttom.)

  > [aaa  body=aaa   ] [GO]


At Fri, 20 Dec 2002 11:17:27 +,
Colin Coles wrote:
> 
> Hi,
> If I understand correctly I think you will need to use $_POST['body'] instead 
> of $body.
> 
> Colin.
> 
> 
> On Friday 20 December 2002 02:54, Yasuo Yamasaki wrote:
> > Hi all
> >
> > My BBS(phorum-3.3.2c) does not work with RedHat Linux8.0.
> > RedHat Linux7.3 or Solaris7 are fine.
> >
> > I dit the following test. Is this correct?
> >
> > Does anyone know about PHP textarea problem.
> > Is this PHP problem? RedHat problem?
> >
> > Thank you in advance.
> >
> > 
> >
> > slime% cat ~/public_html/a.php
> >
> > 
> > 
> > 
> > 
> >
> > slime% cat /etc/redhat-release
> > Red Hat Linux release 8.0 (Psyche)
> >
> > slime% rpm -q php
> > php-4.2.2-8.0.5
> >
> > slime% rpm -q httpd
> > httpd-2.0.40-11
> >
> > slime% w3m http://slime/~yamasaki/a.php
> >
> >   > [] [GO]
> >
> > (input "" and press "GO" buttom.)
> >
> >   > [ body=  ] [GO]
> >
> > (Solaris return the following)
> >
> >   > [] [GO]
> >
> > --- Yasuo Yamasaki
> 
> 
> 
> 
> 
> 
> -- 
> Regards,
> Colin Coles.
> www.wemoto.com
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



PHP textarea

2002-12-19 Thread Yasuo Yamasaki
Hi all

My BBS(phorum-3.3.2c) does not work with RedHat Linux8.0.
RedHat Linux7.3 or Solaris7 are fine.

I dit the following test. Is this correct?

Does anyone know about PHP textarea problem.
Is this PHP problem? RedHat problem?

Thank you in advance.



slime% cat ~/public_html/a.php






slime% cat /etc/redhat-release
Red Hat Linux release 8.0 (Psyche)

slime% rpm -q php
php-4.2.2-8.0.5

slime% rpm -q httpd
httpd-2.0.40-11

slime% w3m http://slime/~yamasaki/a.php

  > [] [GO]

(input "" and press "GO" buttom.)

  > [ body=  ] [GO]

(Solaris return the following)

  > [aaaa    ] [GO]

--- Yasuo Yamasaki



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list