Re: [PHP] Variable over url

2002-10-31 Thread Sascha Cunz
Ops, of course. Sascha Am Donnerstag, 31. Oktober 2002 04:07 schrieb Chris Shiflett: > I think you mean turn on register_globals. :-) > > Sascha Cunz wrote: > >try > > > echo $_GET['tmp']; > >?> > > > >or turn off register_globals in your php.ini file. > > > >Am Mittwoch, 30. Oktober 2002 20:49 s

Re: [PHP] Variable over url

2002-10-30 Thread Leif K-Brooks
X.x No. It's turned off for a reason: security. Chris Shiflett wrote: I think you mean turn on register_globals. :-) Sascha Cunz wrote: try echo $_GET['tmp']; ?> or turn off register_globals in your php.ini file. Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: My Script: Tes

Re: [PHP] Variable over url

2002-10-30 Thread Chris Shiflett
I think you mean turn on register_globals. :-) Sascha Cunz wrote: try echo $_GET['tmp']; ?> or turn off register_globals in your php.ini file. Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: My Script: Test.php My URL: www.some.domain/test.php?tmp=5 My result: NOTHING !!!

Re: [PHP] Variable over url

2002-10-30 Thread Philip Olson
Read this: Variables from outside PHP: http://www.php.net/manual/en/language.variables.external.php Some notes: a) Know your register_globals directive. b) register_globals defaults to off as of PHP 4.2.0. c) It's preferred not to rely on register_globals being on. d) Autoglobals, su

Re: [PHP] Variable over url

2002-10-30 Thread Sascha Cunz
Hi, try or turn off register_globals in your php.ini file. - Sascha Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: > Hi, > > I've just installed php 4.2.3 and wonder why I can't submit an variable > over url. > > Example: > > My Script: > Test.php > > echo $tmp; > ?> > > My URL: >