Server IP : 50.63.8.133  /  Your IP : 3.134.118.113
Web Server : Microsoft-IIS/10.0
System : Windows NT P3NWVPWEB032 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : IWPD_10999(xformtec) ( 0)
PHP Version : 5.4.45
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  G:/PleskVhosts/xform.in/madhurivivah.com/member/

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

 
Command :
Current File : G:/PleskVhosts/xform.in/madhurivivah.com/member/edit-profile-photo.php
<?php
if (isset($_POST['update6'])) {
   

    $imgfile = $_FILES["profile_photo"]["name"];



   // get the image extension
        $extension = substr($imgfile, strlen($imgfile) - 4, strlen($imgfile));
        // allowed extensions
        $allowed_extensions = array(".jpg", "jpeg", ".png", ".gif");
        // Validation for allowed extensions .in_array() function searches an array for a specific value.
        if (!in_array($extension, $allowed_extensions)) {
            echo "<script>alert('Invalid format. Only jpg / jpeg/ png /gif format allowed');</script>";
        } else {
            //rename the image file
            $imgnewfile = md5($imgfile) . $extension;
            // Code for move image into directory


    move_uploaded_file($_FILES["profile_photo"]["tmp_name"], "../admin/img/profile-photos/" . $imgfile);


    if (isset($_SESSION['member_profile_id']) && $_SESSION['member_profile_id'] != '') {

        $sql1 = "UPDATE member_profile SET profile_photo='$imgfile' WHERE member_profile_id='" . $_SESSION['member_profile_id'] . "'";


        if (mysqli_query($con, $sql1)) {

            //echo "Records inserted successfully.";
            {
                echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                           
                  </script>";
            }
        } else {


            $ermsg = "Either Email ID or Password is Incorrect..!";
        }


        //if ($query) {
        //$msg = " Your Personal Information  updated ";
        // } else {
        //$error = "Something went wrong . Please try again.";
        // }
    }
}

}

?>









<p> <?php echo htmlentities($ermsg); ?></p>


<table class="table table-bordered">
    <tbody>

        <tr>

            <td>Add New Your Profile Picture :-

            </td>

            <td>
            <img src="../admin/img/profile-photos/<?php echo $row['profile_photo'] ?>" alt="">
            <input type="file" name="profile_photo" class="form-control" required></input> </td>


        </tr>




    </tbody>
</table>














<div class="save-stngs pd2">
    <ul>

        <button class="btn btn-primary" name="update6" type="submit"><b>Update Personal Information</b></button>
    </ul>
</div>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
April 17 2025 11:26:52
0 / 0
0777
css
--
March 07 2024 06:55:30
0 / 0
0777
fonts
--
March 07 2024 06:55:30
0 / 0
0777
images
--
March 07 2024 06:55:30
0 / 0
0777
include
--
March 07 2024 06:55:30
0 / 0
0777
js
--
March 07 2024 06:55:30
0 / 0
0777
lib
--
March 07 2024 06:55:30
0 / 0
0777
vendor
--
August 08 2023 00:14:20
0 / 0
0777
.htaccess
0.208 KB
June 19 2023 22:18:28
0 / 0
0666
dashboard.php
32.748 KB
January 11 2023 20:30:48
0 / 0
0666
edit-addresh-information.php
3.123 KB
June 12 2022 01:15:38
0 / 0
0666
edit-education-information.php
2.238 KB
June 12 2022 00:54:56
0 / 0
0666
edit-expectation.php
1.87 KB
June 17 2022 02:38:28
0 / 0
0666
edit-family-information.php
2.656 KB
June 12 2022 00:58:58
0 / 0
0666
edit-horoscope-information.php
3.712 KB
June 12 2022 01:04:18
0 / 0
0666
edit-personal-information.php
14.466 KB
April 05 2023 19:22:16
0 / 0
0666
edit-profile-photo.php
2.321 KB
October 11 2022 07:26:46
0 / 0
0666
edit-profile.php
6.842 KB
May 02 2022 22:06:54
0 / 0
0666
error_log
928.755 KB
April 11 2024 08:54:18
0 / 0
0666
index.php
32.134 KB
May 28 2022 06:44:08
0 / 0
0666
index2.php
32.134 KB
October 11 2022 07:22:56
0 / 0
0666
login-register.php
16.696 KB
June 05 2022 00:20:16
0 / 0
0666
logout.php
0.122 KB
June 24 2022 23:57:46
0 / 0
0666
member-profile.php
36.488 KB
November 26 2022 17:42:24
0 / 0
0666
member.php
60.54 KB
March 31 2022 22:03:52
0 / 0
0666
membership.php
6.756 KB
October 06 2022 19:42:22
0 / 0
0666
my-profile-feed.php
177.77 KB
March 31 2022 22:02:20
0 / 0
0666
profile-account-setting.php
19.033 KB
June 12 2022 00:50:00
0 / 0
0666
profiles.php
9.243 KB
October 07 2022 18:25:34
0 / 0
0666
selected-profile.php
5.765 KB
November 18 2022 23:28:10
0 / 0
0666
user-profile.php
34.049 KB
June 10 2022 01:13:24
0 / 0
0666
view-profile.php
33.117 KB
October 06 2022 19:16:08
0 / 0
0666