Re: Variable problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, July 24, 2007 3:33 pm, Luc wrote:

>         if (empty($_POST['altura'])){
>                 $contacter_form_error[] = 'favor preencher altura';
>         }
>         if (empty($_POST['largura'])){
>                 $contacter_form_error[] = 'favor preencher largura';
>         }
>         else {
>                 $empresa_name = stripslashes($_POST['empresa_name']);
>                 $contato_email =
> stripslashes($_POST['contato_email']);

I think you're just missing $contato_name = $_POST['contato_name'] in
here somewhere...

I got kinda lost, though.

That said, if you are using striplashes, you have magic_quotes_gpc on,
and that's something you may want to turn off in the first place.

Or consider checking if it's on in your code rather than assuming it's
on.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux