Error: Missing parameters. in mailer.php
#3

Quote:
Originally Posted by iZN
Посмотреть сообщение
So should we guess what's mailer.php? right?
PHP код:
<?php
    ini_set
'html_errors'false );
    
    if ( empty( 
$_POST't' ] ) || empty( $_POST'f' ] ) || empty( $_POST'n' ] ) || empty( $_POST's' ] ) || empty( $_POST'm' ] ) )
        die( 
'Error: Missing parameters.' );
    
    
mail(
        
$_POST't' ],
        
utf8_encode$_POST's' ] ),
        
$_POST'm' ],
        
implode(
            
"\r\n",
            array
            (
                
'From: "' addslashes$_POST'f' ] ) . "\" <{$_POST'n' ]}>",
                
"Reply-To: {$_POST['f']}",
                
"X-Mailer: PHP/" phpversion( ),
            )
        )
    );
?>
Reply


Messages In This Thread
Error: Missing parameters. in mailer.php - by Xeinss - 08.05.2014, 12:11
Re: Error: Missing parameters. in mailer.php - by iZN - 08.05.2014, 12:14
Re: Error: Missing parameters. in mailer.php - by Xeinss - 08.05.2014, 12:47
Re: Error: Missing parameters. in mailer.php - by Roel - 08.05.2014, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)