-
-
Save anonymous/a14b2691d2d291a8d775 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if($_SERVER['Request_Method']=='POST'){ | |
| $stats = $_POST['Stats']; | |
| $phone = $_POST['PhoneNumber']; | |
| $pic = $_POST['Image']; | |
| require_once(ConnectDB.php); | |
| $decoded = base64_decode($pic); | |
| $query = "INSERT INTO chattris (PhoneNumber, Stats, ProfilePic) VALUES ($phone, $stats, $decoded)"; | |
| if(mysql_query(DB, $query, $con)) | |
| {echo 'Thanks Khalid';} else { | |
| echo 'Error Bitcches'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment