Re: 4.04 --> 4.1.2 incompatible
| From: | Petre Agenbag | Date: | Tue, 20 Aug 2002 14:07:19 +0000 |
| Subject: | Re: 4.04 --> 4.1.2 incompatible | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113325@lists.php.net to get a copy of this message | ||
My oh my
OK, can someone help with this one???
My original Form conatined the following:
<form action="test.php" method="POST"
enctype="multipart/form-data">
bla, bla
And then things broke, so, out of curiosity, I removed the enctype=""
part, and now it works????/
On Tue, 2002-08-20 at 13:05, Thies C. Arntzen wrote:
> On Tue, Aug 20, 2002 at 12:01:24PM +0200, Petre Agenbag wrote:
> > Yes, phpinfo() returns that register globals is ON...
>
> and does a simple testpage work?
>
>
> test.php
> <?php
> echo $hallo;
> ?>
>
> http://localhost/test.php?hallo=test
>
> should show a page containing the word test
>
> re,
> tc
> >
> > On Tue, 2002-08-20 at 11:52, Thies C. Arntzen wrote:
> > > On Tue, Aug 20, 2002 at 11:28:55AM +0200, Petre Agenbag wrote:
> > > > Hi
> > > > Can someone please tell me what settings to check for on 4.1.2 in order
> > > > to ensure that scripts that runs on 4.0.4 will run on 4.1.2?
> > > >
> > > > I HAVE checked registered_globals = on, but I still get variables that
> > > > are not passed on via URL and form submits.
> > > >
> > > > The app has a "login" form that submits to an action page, on the
> > > > action
> > > > page I generate a link that goes to another form, I append the username
> > > > and password to the end of the URL of the link on the action page, and
> > > > then create hidden fields that echo the username and password in the
> > > > subsequent form to be passed along with the extra form field to the last
> > > > page.
> > > >
> > > > This whole process works 100% on 4.0.4, but breaks at the second page on
> > > > 4.1.2 (ie, it DOESN't pass the username and password to the action page
> > > > from the form fields).
> > > >
> > > > I need to resove this, as I have lots of applications that was written
> > > > in this way, and are currently working, but want to upgrade the server
> > > > to RedHat 7.3 that comes with 4.1.2 and don't want to end up with a
> > > > bunch of broken apps.
> > > >
> > > > I know it's not the correct way to have coded, but it's done now, and
> > > > for now, I won't mind to have register_globals = On, although THAT
> > > > doesn't seem to be the solution...
> > > > Please advise.
> > > > Thanks
> > >
> > > have you checked that register_globals _is_ actually on? just
> > > look at the output of phpinfo();
> > >
> > > re,
> > > tc
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Thies C. Arnzten - Looking for all sorts of freelance work - just ask..
> Whishlist:
> http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>