$_POST is empty , but were are the variables posted??

$_POST is empty , but were are the variables posted??

am 17.12.2009 22:21:42 von Daniel Echalar

--000e0cdfc5aed06a56047af33635
Content-Type: text/plain; charset=ISO-8859-1

Hi,
sorry for ask this again, but i really can't solve it.
It must be easy but i can't find the solution

this is my code:
//form.php


name :



//and this is the mail.php
$name = $_POST["myname"];
var_dump($name);

and the result is:
NULL

i'm using php 5, i don'd know what is wrong and i have readed a lot of blogs
and forums, there is a lot of people with this problem , but i have not
found a solution. thanks for the help

--000e0cdfc5aed06a56047af33635--

Re: $_POST is empty , but were are the variables posted??

am 17.12.2009 22:29:58 von Ashley Sheridan

--=-FO/HtuvI4gm3FShRSlp+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2009-12-17 at 13:30 -0800, Steve wrote:

> On 12/17/2009 1:21 PM, gato chlr wrote:
> > Hi,
> > sorry for ask this again, but i really can't solve it.
> > It must be easy but i can't find the solution
> >
> > this is my code:
> > //form.php
> >


> > name :
> >
> >

> >
> > //and this is the mail.php
> > $name = $_POST["myname"];
> > var_dump($name);
> >
> > and the result is:
> > NULL
> >
> > i'm using php 5, i don'd know what is wrong and i have readed a lot of blogs
> > and forums, there is a lot of people with this problem , but i have not
> > found a solution. thanks for the help
> >
> >
> You need to name your field with name="myname"
>
> //form.php
>

> name :
>
>

>
>


The id attribute is used to attach the element to a

Re: $_POST is empty , but were are the variables posted??

am 17.12.2009 22:30:52 von Steve

On 12/17/2009 1:21 PM, gato chlr wrote:
> Hi,
> sorry for ask this again, but i really can't solve it.
> It must be easy but i can't find the solution
>
> this is my code:
> //form.php
>


> name :
>
>

>
> //and this is the mail.php
> $name = $_POST["myname"];
> var_dump($name);
>
> and the result is:
> NULL
>
> i'm using php 5, i don'd know what is wrong and i have readed a lot of blogs
> and forums, there is a lot of people with this problem , but i have not
> found a solution. thanks for the help
>
>
You need to name your field with name="myname"

//form.php

name :




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: $_POST is empty , but were are the variables posted??

am 17.12.2009 22:32:16 von Daniel Echalar

--000e0cdf97d69baa69047af35cc1
Content-Type: text/plain; charset=ISO-8859-1

THANKS A LOT!!! to every one!!! . it works.

2009/12/17 Joseph Thayne

> Give your input a name. (i.e. name="myname")
>
> -----Original Message-----
> From: gato chlr [mailto:dany171@gmail.com]
> Sent: Thursday, December 17, 2009 3:22 PM
> To: php-general@lists.php.net
> Subject: [PHP] $_POST is empty , but were are the variables posted??
>
> Hi,
> sorry for ask this again, but i really can't solve it.
> It must be easy but i can't find the solution
>
> this is my code:
> //form.php
>


> name :
>
>

>
> //and this is the mail.php
> $name = $_POST["myname"];
> var_dump($name);
>
> and the result is:
> NULL
>
> i'm using php 5, i don'd know what is wrong and i have readed a lot of
> blogs
> and forums, there is a lot of people with this problem , but i have not
> found a solution. thanks for the help
>
>

--000e0cdf97d69baa69047af35cc1--