but in the php.ini i have "register_globals = on"

> PHP 4.2.* has "register_globals = off" as a default.  You variables has to
> be $_POST["fname"] or $_POST["fname"] or $_SERVER["PHP_SELF"] etc.,
>
> or you can simple incides one file
> eg.
>
> //extract.php
> <?
> extract($_SERVER);
> extract($_ENV);
> extract($_GET);
> extract($_POST);
> extract($_REQUEST);
> ?>
>
> in your old codes...
>
> require_once "extract.php";
>
> "Alexander Piavka" <[EMAIL PROTECTED]> wrote in message
> news:Pine.GSO.4.33.0211061433030.21449-200000@;indigo...
> >
> >  Hi, we have upgraded from php4.0.6 to php4.2.2
> > The problem is that php4.2.2 remembers last GET and POST vars in
> HTTP_SESSION_VARS also.
> > This ruins the functionality of many programs we are running.
> > both 4.0.6 and 4.2.2 were configured and compiled with exactly the same
> > parameters and we are using the same php.ini conf (which is attached in
> the mail)
> >
> >  In the features added between 4.0.6 and 4.2.2 we did not notice any
> > changes that make such a change in php behaviour.
> > Please advise how can we fix this behaviour without making changes in the
> > code.
> >  Thanks a lot
> >
> > ps. these are configure options for php4.0.6 and php4.2.2 we used.
> >
> >
> ./configure --prefix=/usr/local/web/progs/php-4.0.6 --with-db3 --with-db --w
> ith-jpeg-dir -with-tiff-dir \
> > --with-jpeg-dir --with-png-dir --enable-force-cgi-redirect --enable-discar
> d-path --with-openssl \
> > --with-zlib --with-bz2 --enable-ftp --with-gettext --enable-sockets --enab
> le-shared \
> > --with-gnu-ld --enable-versioning --enable-static --with-config-file-path=
> /usr/local/web/apache-php/conf \
> > --enable-magic-quotes --enable-track-vars --with-apxs=/usr/local/web/apach
> e-php/bin/apxs \
> > --with-tsrm-pthreads --enable-yp --with-kerberos --with-imap --with-imap-s
> sl --without-dmalloc \
> > --enable-trans-sid --enable-mbstr-enc-trans --enable-mbstring
> >
> >
> ./configure  --prefix=/usr/local/web/progs/php-4.2.2 --with-db3 --with-db --
> with-jpeg-dir -with-tiff-dir \
> > --with-jpeg-dir --with-png-dir --enable-force-cgi-redirect --enable-discar
> d-path --with-openssl \
> > --with-zlib --with-bz2 --enable-ftp --with-gettext --enable-sockets --enab
> le-shared \
> > --with-gnu-ld --enable-versioning --enable-static --with-config-file-path=
> /usr/local/web/apache-php/conf \
> > --enable-magic-quotes --enable-track-vars --with-apxs=/usr/local/web/apach
> e-php/bin/apxs \
> > --with-tsrm-pthreads --enable-yp --with-kerberos --with-imap --with-imap-s
> sl --without-dmalloc \
> > --enable-trans-sid --enable-mbstr-enc-trans --enable-mbstring
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


 Piavlo XanderAl
 BGU CS Lab Evil Admin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to