6

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

Comments
  • 1
  • 5
    You have a slight xss problem buddy
  • 0
    @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
  • 3
    @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
  • 0
    Check out filter_var function to validate user input or use some framework like Symfony which will do it for you
  • 1
    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.
  • 0
    @AlexDeLarge I started PHP only a few months ago
  • 0
    Burningsatan? 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.
  • 0
    Aaa it's your nickname 😎👌🏻
  • 0
    @anamus lmao "Russian" is scary?
  • 0
    And no it's safe for now until a ranter goes and fucks that site up
  • 0
    @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)
Add Comment