473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

should I write $HTTP_POST_VARS[SubmitEmail]

SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmail"] or $HTTP_POST_VARS['SubmitEmail']

It seems that both of them (with or without quotes) work...

Sorry I am sure this is a very stupid question...

- Nicolaas
Jul 17 '05 #1
2 1668
On 2005-01-29, WindAndWaves <ac****@ngaru.com> wrote:
SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmail"] or $HTTP_POST_VARS['SubmitEmail']
Nowadays, you should write $_POST['SubmitEmail']

It seems that both of them (with or without quotes) work...


rtfm: http://be2.php.net/manual/en/language.types.array.php

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
Jul 17 '05 #2

"Tim Van Wassenhove" <ti***@users.sourceforge.net> wrote in message news:36*************@individual.net...
On 2005-01-29, WindAndWaves <ac****@ngaru.com> wrote:
SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmail"] or $HTTP_POST_VARS['SubmitEmail']


Nowadays, you should write $_POST['SubmitEmail']

It seems that both of them (with or without quotes) work...


rtfm: http://be2.php.net/manual/en/language.types.array.php

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>


veel dank!
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wayne's World | last post by:
hi everyone, i have a big problem, writing a image from my applet to my apache webserver. i tried three way's of writing that file. every way was described in forums to solve this problem, but...
3
by: Ike | last post by:
Can anyone discern why the following code writes the document.write() lines literally? That is, a line like document.write('<CENTER>') should write <CENTER> but instead writes the entire ...
6
by: komal | last post by:
hi all basically my problem is i have to write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function...
8
by: Sowen | last post by:
Hi, all I am wondering how to write bits by using ofstream? I have finished a huffman tree, but how can I write the bits to the file in order to gain compression? for example, 'A' returns a...
2
by: Simon Mayr | last post by:
Hi. I'm new to XML and have a big problem. I should write a program that can show any XML-File in a TreeView. Thats no problem. Furthermore I should be able to change any entry in the Treeview...
8
by: collinm | last post by:
hi we use linux and c language under bash i do echo -e \\000\\000\\000\\000\000\\001Z00\\002AA LINUX \\004 >/dev/ttyS2 that send command to a led display (alpha sign communication)
175
by: Ken Brady | last post by:
I'm on a team building some class libraries to be used by many other projects. Some members of our team insist that "All public methods should be virtual" just in case "anything needs to be...
3
by: key9 | last post by:
Hi all I am confuse of how to override operate "<<" Sample , I've got 2 class class Terminal { public:
6
by: globalrev | last post by:
i ahve a program that takes certain textsnippets out of one file and inserts them into another. problem is it jsut overwrites the first riow every time. i want to insert every new piece of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.