Change PHP_SELF to admin_url() everywhere.