Get post ID in post/page edit area

Try using $_POST[‘post_id’] in the upload area as file.php does not include the global $post object.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)