RE: [PHP] Problem with postfield elements
| From: | Balaji Ankem | Date: | Thu, 13 Jun 2002 06:50:56 +0000 |
| Subject: | RE: [PHP] Problem with postfield elements | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101909@lists.php.net to get a copy of this message | ||
Hi Jason,
Thanks for the reply.
Just I posted to input fields from a html form and I tried to print.
Here I am not registering any global variables.
I have tried echo "emp_id: ".$_POST['emp_id']; and able to print
succesfully.
Every time I have to refer like this $_POST['emp_id']. Can't I refer as
$emp_id ?
Thanks and Regards
Balaji
-----Original Message-----
From: Jason Wong [mailto:php-general@gremlins.com.hk]
Sent: Thursday, June 13, 2002 12:15 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Problem with postfield elements
On Thursday 13 June 2002 14:18, Balaji Ankem wrote:
> Hi friend,
> Just now I have installed php 4.2.1 on my windows NT machine.
Did you read the release notes or the documentation which comes with it,
or
the manual even?
> Here I found I am not able to get the postfield values.
> What would be the reason?
register_globals is disabled. Read the manual or search the archives for
more
info.
> echo "emp_id: ".$emp_id;
> echo "emp_pass:".$emp_pass;
Use :
echo "emp_id: ".$_POST['emp_id'];
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The strong give up and move away, while the weak give up and stay. */
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************