Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Kimmax I'm self-taught so my knowledge about security is not so good. I can see that the code has already been modified by someone lol. Is there anything you may suggest that I do
-
Kimmax111067y@BurningSatan the problem is mainly that you save and output user input unvalidated. You can't do that. Look up XSS and you'll know how to prevent it. Until then basically every user has full control of the web page on the client side
-
beriba8567yCheck out filter_var function to validate user input or use some framework like Symfony which will do it for you
-
Haha, yes! A chat app was my first PHP application, and on 000webhost as well! I'd love to show you, but I got banned after I made an auto-refresh feature and my friends and I made ~1200 requests in a minute. I did create another, http://couchpotato.000webhostapp.com/... for blocked games at my school. Teachers weren't happy. Cheers, @BurningSatan.
-
anamus7257yBurningsatan? I'm afraid that some extraterrestrial monster spirit takes over my laptop if I click such a link, lol. Or a Russian hacker, even worse.
-
anamus7257y@BurningSatan if you need to ask, you've still got stuff to discover regarding the topic. ;) (naa, it's just a saying in Finland, lol)
Hello everyone. I'm so excited to tell that my first PHP project is online now. It's a simple chat app. Go check it out. Leave your thoughts. 😊
www.burningsatan.000webhostapp.com
undefined