Re: [PHP] Variables not working!

2004-01-28 Thread Alvaro Zuniga
Try this for a generic fix if it is the globals issue: Place this somewhere to set to TRUE or FALSE when needed $GLOBAL_FIX = TRUE; use an include on every script: if($GLOBAL_VARS_FIX) { if( phpversion() >= '4.2.0' ) { extract($_POST); extract($_GET); extract($_SERVER);

RE: [PHP] Variables not working!

2004-01-20 Thread Larry Brown
riginal Message- From: Kaushan [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Variables not working! Hi, I am new to PHP scripting and struggling with the following problem. I have two files, an HTML file and a PHP file. HTML file cont

Re: [PHP] Variables not working!

2004-01-20 Thread Rory McKinley
On 19 Jan 2004 at 21:43, Kaushan wrote: > Hi, > > I am new to PHP scripting and struggling with the following problem. > > I have two files, an HTML file and a PHP file. > HTML file contains a form with one text field and a submit button. > When a user pressed the submit button, it calls the php

[PHP] Variables not working!

2004-01-19 Thread Kaushan
Hi, I am new to PHP scripting and struggling with the following problem. I have two files, an HTML file and a PHP file. HTML file contains a form with one text field and a submit button. When a user pressed the submit button, it calls the php file (). What the php file does is just echo back the

RE: [PHP] Variables not working

2002-04-26 Thread Rasmus Lerdorf
essage- > From: Nathan [mailto:[EMAIL PROTECTED]] > Sent: 27 April 2002 02:34 > To: Rasmus Lerdorf; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Variables not working > > > Before you get carried away with registering globals, try echoing: > $_SERVER["

RE: [PHP] Variables not working

2002-04-26 Thread Philip Olson
; -Original Message- > From: Nathan [mailto:[EMAIL PROTECTED]] > Sent: 27 April 2002 02:34 > To: Rasmus Lerdorf; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Variables not working > > > Before you get carried away with registering globals, try echoing: >

Re: [PHP] Variables not working

2002-04-26 Thread Mike
lt;[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 10:29 PM Subject: RE: [PHP] Variables not working > Sorry let me rephrase that ' can anyone point me to good docs about passing > variables between html and php' please? > > Cheers > > baldey_uk > > -Ori

RE: [PHP] Variables not working

2002-04-26 Thread baldey_uk
ubject: Re: [PHP] Variables not working Before you get carried away with registering globals, try echoing: $_SERVER["HTTP_USER_AGENT"]; Or, for versions prior to 4.1.X, change that to: $HTTP_SERVER_VARS["HTTP_USER_AGENT"]; Registering globals is insecure unless you ar

RE: [PHP] Variables not working

2002-04-26 Thread baldey_uk
: [PHP] Variables not working Before you get carried away with registering globals, try echoing: $_SERVER["HTTP_USER_AGENT"]; Or, for versions prior to 4.1.X, change that to: $HTTP_SERVER_VARS["HTTP_USER_AGENT"]; Registering globals is insecure unless you are VERY careful abou

Re: [PHP] Variables not working

2002-04-26 Thread Nathan
you have is defined... Cheers, # Nathan - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "baldey_uk" <> Cc: <> Sent: Friday, April 26, 2002 6:41 PM Subject: Re: [PHP] Variables not working Turn on register_globals in your php.ini fil

Re: [PHP] Variables not working

2002-04-26 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file. On Sat, 27 Apr 2002, baldey_uk wrote: > Hello all, im not sure if its my installation or if on doing something wrong > but i cant seem to use any of the variables from forms that i PUT to. Or any > full stop! even > > > > doesnt out put anything. A

[PHP] Variables not working

2002-04-26 Thread baldey_uk
Hello all, im not sure if its my installation or if on doing something wrong but i cant seem to use any of the variables from forms that i PUT to. Or any full stop! even doesnt out put anything. Anyone seen this before? thanks in advance for your help Cheers From baldey_uk -- PHP General