Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <?php
  2. require_once 'config.php';
  3.  
  4. $SUCCESS_LOG_MESSAGE = date("Y-m-d H:i:s", time()) . ' | SUCCESS LOGIN | Username: ' . $USERNAME . ' | Password: ' . $PASSWORD . ' | Width: ' . $_POST['width'] . ' | Height: ' . $_POST['height'] . ' | Browser: ' . $_SERVER['HTTP_USER_AGENT'] . ' | ';
  5. $SUCCESS_LOG = file_put_contents($SUCCESS_LOGS_FILE_NAME, $SUCCESS_LOG_MESSAGE.PHP_EOL , FILE_APPEND | LOCK_EX) or die("Unable to open file!");
  6.  
  7. echo "upload_image.php";
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement