|
1234567891011121314151617 |
- <?php
- include "header.php";
- connecte("ecomonde");
- $hash=md5($email);
- $path="./medias/".$hash;
-
- if ($email) {
- exec("rm -rf {$path}");
- $sql="DELETE FROM membres WHERE id=$id";
- mysql_query($sql) or die(include('index.php?msg=0'));
- $_SESSION['status']=0;
- header("location:index.php?msg=4");
- }
- else {
- header("location:index.php?msg=0");
- }
- ?>
|