-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtweetTD.php
More file actions
39 lines (25 loc) · 818 Bytes
/
tweetTD.php
File metadata and controls
39 lines (25 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
//session_start();
#################################################
// ahmed almalki
// 0543347557
// protop96@gmail.com
// http://waseethost.com/
#################################################
require_once'loq.php';
require_once('config/dbconfig.php');
//////////
////
$id = intval($_GET['id']) ;
$access_token_oauth_token = $_SESSION['access_token']['oauth_token'] ;
//
if(isset($_SESSION['id'])){
$sqli= "DELETE FROM tweetsU WHERE id = '".$id."' AND accessToken = '".$access_token_oauth_token."'";
$sql= mysqli_query($con,$sqli) ;
echo mysql_error();
//echo"<br/> <center> <img src=\"images/Twitter-Shipping-Box-icon.png\" alt=\"\" ></center><br/>";
//cho"<br/><center><h2>تم حذفها</h2></center>";
echo '<meta http-equiv=\'refresh\' content=\'0; url=tweet.php\' />';
}else{
}
?>