Kevin11 Posted May 3, 2020 Share Posted May 3, 2020 (edited) Hello! I'm struggling with a php tutorial. This one to be specific: https://webdamn.com/build-helpdesk-system-with-php-mysql/ I created the tables in the DB, I add users, but it won't let me login with them. I can't figure out what I'm missing and it's really starting to frustrate me. What am I missing? Any ideas? Edited May 3, 2020 by Kevin11 Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/ Share on other sites More sharing options...
maxxd Posted May 3, 2020 Share Posted May 3, 2020 35 minutes ago, Kevin11 said: What am I missing? Any ideas? Code, perhaps? Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577487 Share on other sites More sharing options...
Barand Posted May 3, 2020 Share Posted May 3, 2020 ... and a meaningful topic title Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577488 Share on other sites More sharing options...
benanamen Posted May 3, 2020 Share Posted May 3, 2020 That is a very poorly coded script and is very vulnerable to an XSS Attack. Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577489 Share on other sites More sharing options...
mac_gyver Posted May 3, 2020 Share Posted May 3, 2020 there's nothing about this code that makes it worth using. well written code should be - secure provide a good user experience be simple, general-purpose, and reusable either work or tell you why it doesn't work this code fails on all these points. if you are just starting out, you need to start small. learn how to write valid html for a form with just a single form field and the php code needed to process the form data. learn how to securely build, execute, and test/use the result from SELECT and INSERT queries. you can then use the knowledge you have learned to produce ever increasingly complex applications or to debug code that others have written. Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577490 Share on other sites More sharing options...
niraeth Posted May 4, 2020 Share Posted May 4, 2020 You look like your new to programming, don't rush into things and try to build something like a helpdesk immediately. Start with smaller and simpler stuff. Quote Link to comment https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577513 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.