Giter VIP home page Giter VIP logo

Comments (6)

zfarkas88 avatar zfarkas88 commented on June 10, 2024 1

Github is not the appropriate place to discuss your problem beacuse It is not a PHP-Auth issue.

I'm not familiar with the mentioned framework. What is in your login.html?

from php-auth.

zfarkas88 avatar zfarkas88 commented on June 10, 2024

Hi,

it seems your login form not contain email field or the name is not exactly email.

from php-auth.

jobasc0 avatar jobasc0 commented on June 10, 2024

@zfarkas88 the code is locate at mine controller page AuthController.php and form will be at login.html . Please help. how do i go about this?

from php-auth.

jobasc0 avatar jobasc0 commented on June 10, 2024
Email
Password
Always Remember Me.
Forgot Password?
Login
						</div>
					</form>

from php-auth.

maietta avatar maietta commented on June 10, 2024

@jobasc0,

It's hard to help anyone when they don't do the basics:

In the future, when posting code to Github issues, please wrap your code in the triple backticks aka ` three times. It should go without saying, but you really should remove any sensitive information from anything you post here. Without wrapping your code in the ``` code goes here ``, causes major readability problems or in the case of your HTML, complete destruction of the code you are trying to show us. Take a half hour to read over how to use a markdown editor.

This issue isn't with Fat Free Framework or PHPAuth so this issue should be closed out. but I'll give you a hint:

If you are finding that $_POST array is empty or doesn't have your expected values, you need to back to the basics and try and understand if your form is actually posting to PHP the way you think it is. Here's a good resource that explains better what I'm talking about: https://stackoverflow.com/questions/4526273/what-does-enctype-multipart-form-data-mean.

Depending on how your form is constructed, you may be sending with a different encoding type. This happens often when people copy/paste code from examples they see online.

A great explainer on POSTed data from forms via PHP. https://stackoverflow.com/questions/8893574/php-php-input-vs-post

Hope this helps, but I think this issue should be closed out.

from php-auth.

ocram avatar ocram commented on June 10, 2024

Thank you, @maietta and @zfarkas88 !

from php-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.