Re: php4 parameter problems

2001-12-17 Thread Petr Cech
On Wed, Dec 12, 2001 at 02:23:03PM +0800 , Patrick Hsieh wrote: > Hello, > I have a testing url like: > http://host.domain.com/test.php?111+222+&test_par=aaa&; strangly it works if you exchange the order, that is put test_par firts. > I am running Debian2.2r4: hmm?? > me:~ #dpkg -l | grep php >

Re: php4 parameter problems

2001-12-13 Thread Patrick Hsieh
Hello, in this case, I can get $test_par. My problem is, if I just use "test.php?test_par=aaa" to get the parameter value or "test.php?111+222+333" to get argument values, they are ok if they do not both appear in the url. But if they both exist in the url, say, test.php?111+222+&test_parm=valu

Re: php4 parameter problems

2001-12-13 Thread Meir Kriheli
On Thursday 13 December 2001 04:27, Patrick Hsieh wrote: > Hello, > I use the php4 debian package from woody. > But in this case, I can't print the value of $test_par, which should be > "aaa" > > If I get php4 source tarball and compile myself, the function is working. > I wonder why the php4 ship

Re: php4 parameter problems

2001-12-12 Thread Patrick Hsieh
Hello, I use the php4 debian package from woody. But in this case, I can't print the value of $test_par, which should be "aaa" If I get php4 source tarball and compile myself, the function is working. I wonder why the php4 shipped from woody can't work. BTW, I have register_globals = On in php.

Re: php4 parameter problems

2001-12-12 Thread Brian Clark
* Patrick Hsieh ([EMAIL PROTECTED]) [Dec 12. 2001 01:25]: > http://host.domain.com/test.php?111+222+&test_par=aaa&; > > then in test.php, I can get > 111 as argv0 > 222 as argv1 > &test_par=aaa& as argv3 > > but I can't get the value of $test_par, which should be aaa What's wrong with just usin

php4 parameter problems

2001-12-12 Thread Patrick Hsieh
Hello, I have a testing url like: http://host.domain.com/test.php?111+222+&test_par=aaa&; then in test.php, I can get 111 as argv0 222 as argv1 &test_par=aaa& as argv3 but I can't get the value of $test_par, which should be aaa I found when I get the php4 source and compile myself, it is ok. Bu