putuardiworks
KPCKevin Powell - Community
•Created by MD on 2/12/2024 in #back-end
Sanitize user input to avoid XSS attacks Question
yes, i mistake it for validate
1670 replies
KPCKevin Powell - Community
•Created by MD on 2/12/2024 in #back-end
Sanitize user input to avoid XSS attacks Question
Okay, i'm here just to answer this topic question: Sanitize user input to avoid XSS attacks
- Sanitize is more like check the input for required, length, format, etc.
- You don't need convert/encode/escape the input using htmlspecialchars() or htmlentities() when saving the input to database.
- When saving to database, use prepared statements and parameterized queries.
- When displaying the data from database to HTML, then you need to convert/encode/escape the data using htmlspecialchars().
1670 replies
KPCKevin Powell - Community
•Created by internal_error_ on 2/18/2024 in #os-and-tools
How do I delete previous GitHub/VSCode syncs?
What the current state? Please give screenshot or scenario of your problem so i can help
3 replies
KPCKevin Powell - Community
•Created by MD on 2/12/2024 in #back-end
Sanitize user input to avoid XSS attacks Question
Already solved then?
1670 replies
KPCKevin Powell - Community
•Created by MD on 2/12/2024 in #back-end
Sanitize user input to avoid XSS attacks Question
@MD how the progress now?
1670 replies
KPCKevin Powell - Community
•Created by ishwerchaudhary on 7/16/2023 in #back-end
npm install hangs on 'sill idealTree buildDeps' who can help me ?
maybe your internet connection not stable. you can try to delete node_modules folder and then npm install (to reinstall all npm packages)
4 replies