Now I noticed that I can't take any variable from another file. It's my
programs fault or I have to modify something in Apache or PHP?

--
Trasca Ion-Catalin
"Trasca Ion-Catalin" <[EMAIL PROTECTED]> wrote in message
news:20021025100207.89943.qmail@;pb1.pair.com...
> Why my mail prcessing script don't recognize the value from the form file.
> If I call the $numele variable it's just output a null.
> This is the form.html
> <html>
> <head>
> <title>Numele</title>
>
> <body>
> <form name="form" method=post action="mail.php">
>
>   <p align="center">Nume:
>     <input name="numele" type="text" value="Cum vrei tu">
>   </p>
>   <div align="center">
>     <input type="submit" name="Submit" value="Trimite">
>   </div>
> </form>
> </body>
> </html>
> And this is mail.php
> <html></head><title>Mesajul este trimis</title>
> <?php
> $email = "Nume:\t$numele";
> $to = "[EMAIL PROTECTED]";
> $subject = "Nume";
> # mail($to, $subject, $email);
> ?>
> </head>
> <body><div align="justify">
>  <? echo ("Ai trimis numele $numele"); ?>
>
> </div>
> </body>
> </html>
> the mail command is commentet for testing purpose, I don't want to receive
a
> e-mail every time I test the script.
>
> --
> Trasca Ion-Catalin
>
>



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

Reply via email to