Re: PHP and Form Data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 Oct 2002, Clark D. Wells wrote:
> 
> I have installed psyche on two computers and both have the
> same problem:
> 
> Variables passed from a form are not seen by the php
> file.  I have written many php pages that worked fine
> until I moved to redhat 8.0 and now none of them see
> the data passed from the forms.

Probably because your code is relying on register_globals being enabled.  
(which is now disabled by default with PHP >= 4.2)

It's best to fix your code so that register_globals is not necessary.
(ie.  use $_POST["var"] or $_GET["var"], instead of $var)

David.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux