What are the potential drawbacks of using POST method for an installation script in PHP?

Using the POST method for an installation script in PHP can potentially expose sensitive data, such as database credentials, in the URL. This can lead to security vulnerabilities if the URL is logged or intercepted. To mitigate this risk, it's recommended to use the POST method for sensitive data and use HTTPS to encrypt the communication between the client and server.

<form method="post" action="install.php" enctype="multipart/form-data">
    <!-- Form fields for installation script -->
</form>