https://github.com/mathroule/login-form
https://github.com/mathroule/login-form
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathroule/login-form
- Owner: mathroule
- Created: 2018-11-23T00:16:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T14:30:53.000Z (over 7 years ago)
- Last Synced: 2025-02-10T14:13:13.360Z (over 1 year ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Login form
Basic login form with username and password.
### Without iframe
* Using [AJAX](no-iframe/ajax) (i.e. will call process.php)
* Using [AJAX with absolute URL](no-iframe/ajax-absolute-url) (i.e. will call http://example.com/process.php)
* Using [AJAX with absolute URL and 307 redirect](no-iframe/ajax-absolute-url-with-redirect) (i.e. will call http://example.com/redirect.php)
* Using [AJAX with relative URL](no-iframe/ajax-relative-url) (i.e. will call ./process.php)
* Using [AJAX with relative parent URL](no-iframe/ajax-relative-parent-url) (i.e. will call ../ajax/process.php)
* Using [HTTP](no-iframe/http)
* Using [HTTP with 307 redirect](no-iframe/http-with-redirect)
* Using [HTTP login form submitted by jQuery](no-iframe/jquery)
### Inside iframe
* Using [AJAX](iframe/ajax) (i.e. will call process.php)
* Using [AJAX with absolute URL](iframe/ajax-absolute-url) (i.e. will call http://example.com/process.php)
* Using [AJAX with absolute URL and 307 redirect](iframe/ajax-absolute-url-with-redirect) (i.e. will call http://example.com/redirect.php)
* Using [AJAX with relative URL](iframe/ajax-relative-url) (i.e. will call ./process.php)
* Using [AJAX with relative parent URL](iframe/ajax-relative-parent-url) (i.e. will call ../ajax/process.php)
* Using [HTTP](iframe/http)
* Using [HTTP with 307 redirect](iframe/http-with-redirect)
* Using [HTTP login form submitted by jQuery](iframe/jquery)
Type anything as username and password, the page will display the username and password received by the server if not empty.
## Requirement
Need PHP to be run.
## Credit
Based on [https://github.com/scotch-io/ajax-forms-jquery](https://github.com/scotch-io/ajax-forms-jquery)