Skip to content

Instantly share code, notes, and snippets.

View SaifShovon's full-sized avatar

Saif Hossain Shovon SaifShovon

View GitHub Profile
@SaifShovon
SaifShovon / how_to.md
Created December 27, 2019 16:11 — forked from oanhnn/how_to.md
How to fix composer error "Content-Length Mismatch"

First, run:

$ composer config --list --global        //this will get the composer home path.
[home] /root/.composer                   //it's my composer home path.

And then, edit the config.json in [home] directory, make it like this:

{
  "config": {
 "github-protocols": [
login_page.php
<form action="verify.php" method="post">
User Name:<br>
<input type="text" name="username"><br><br>
Password:<br>
<input type="password" name="password"><br><br>
<input type="submit" name="submit" value="Login">
</form>
verify.php