Giter VIP home page Giter VIP logo

Comments (8)

siamon123 avatar siamon123 commented on June 23, 2024

Post this code in auth.php
check if its return any id or not.

login($user_id); // $session->msg("s", "Wel Come."); // redirect('home.php',false); // } else { // // $session->msg("d", "Sorry Username/Password incorrect."); // redirect('index.php',false); // } } else { $session->msg("d", $errors); redirect('index.php',false); } ?>

from warehouse-inventory-system.

Sqt123 avatar Sqt123 commented on June 23, 2024

It returns string(1) "0"

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on June 23, 2024

can you login as a admin?

from warehouse-inventory-system.

Sqt123 avatar Sqt123 commented on June 23, 2024

Yes as admin I can login

On 17/09/2015 21:16, Siamon Hasan wrote:

can you login as a admin?


Reply to this email directly or view it on GitHub
#5 (comment).

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on June 23, 2024

its mean either username or password is wrong. function should return either user id or false.

from warehouse-inventory-system.

halil-indo avatar halil-indo commented on June 23, 2024

thanks Siamon123. its work for me, just change in database.php

add require_once("../folder/includes/config.php") for xampp

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on June 23, 2024

Yea some how XAMPP new version has include bug. i am glade you fix it on yourself. give me Feedback on Facebook. thank you.

from warehouse-inventory-system.

Sqt123 avatar Sqt123 commented on June 23, 2024

Hi,

There is some nice stuff I've just found, I thought you might be interested, just take a look http://lessandra.ajlconsultingltd.com/e3wcr/90

Bests, d.reingoldas

from warehouse-inventory-system.

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.