Error: Missing parameters. in mailer.php
#1

in include mailer in the php iget this error
Error: Missing parameters.
Reply
#2

So should we guess what's mailer.php? right?
Reply
#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
#4

Well you didnt fill in all requested fields, show me the script that includes the mail form.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)