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
It is most likely globals. Access the variables by... echo $_GET['fname']; or $_POST['fname']; if you are using post which it doesn't appear you do. Larry PS it is adviseable to leave globals alone in php.ini since it is set that way for security concerns. -Original Message- From: Kau

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

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
e VERY careful about how every variable 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

RE: [PHP] Variables not working

2002-04-26 Thread baldey_uk
t how every variable 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_glo

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