DDoS attack using php

Hello, I’m just wondering for educational purposes, is it possible to create code that will attack another computer based on php?


Answer 1, authority 100%

Yes, of course it’s possible. We open the ip address using fsockopenand bomb through fwritewith garbage, it can be with a delay, it can be without. But, of course, there won’t be much sense if the car is weak)


Answer 2, authority 50%

You can, but depending on what kind of attack. you can, for example, flood, or send some other numerous requests

DDOS