Turning off register globals and referencing variables through the new array
syntax certainly gives a greater degree of control over the origin of data;
ie: a variable referenced $_POST['foo'] has (most likely) been received as a
result of http post and it's reasonably safe to assume $_COOKIE['
That's the way it works in the newer PHP for security reasons. I had to rewrite all my
code about a week ago because my client was using php 4.2 and I had 4.0. It has to do
with the Globals are set to being turned off in the php.ini file. You should be able
to
change the php.ini file to global
This is really a FAQ, I would suggest that you read a bit more documentation
before posting.
Eric
"Le Van Thanh" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
- I have installed PHP4.2.2 with Apache 1.3.26 on Solaris7.
And now I have problems with getting data from form
3 matches
Mail list logo