|
Posted by Kimmo Laine on 12/16/05 13:02
"Lennart Zuur" <lennart@renderstream.nl> wrote in message
news:52301$43a29b70$3ea337f6$32175@news.chello.nl...
> Somebody help me please!
> Recently I upgraded PHP from a 3.x version to PHP 4.1
> as I need PHP 4.1 for certain fuctions.
Why not go all the way to php 5, it's the same trouble anyway, but you'll
get the latest version of it and you may just find some additional useful
functions in php 5 that don't exist in either php 3 or 4. Or at least php
4.4 which is the latest of the 4.x series. Come on, php 4.1 was first
released in 2001, don't you think it would be best to get the latest
edition? Bottom line is that it's your server and you install whatever
version you want, I'm just wondering why.
> So it looks like variables don't travel from one page to another?
> Could this be the PHP config?
Yes, it's a configuration issue. They changed the default value of
register_globals setting to 'off', so that the form parameters aren't
registered automatically as variables but you need to fetch them from the
$_GET and $_POST arrays to use them. To change the behaviour back to how it
was in php 3, edit the value of register_globals in php.ini, or better yet,
edit your code to use the $_GET and $_POST arrays instead (it's more secure
that way).
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviφ
antaatulla.sikanautaa@gmail.com.NOSPAM.invalid
Navigation:
[Reply to this message]
|