I was hoping that it would run the php X amounts of times increasing the prob of success
For starters, fopen is File IO, so it would merely open the file to be edited or something to that effect. If you sued System, Passthru, or Exec, maybe. Just for the record, PHP pretty much doesn't allow any of this. In essence, that's a forkbomb.
Ping flooding and ICMP flooding are also different. Remember, all squares are rectangles but not all rectangles are squares, and all circleds are elipses but not all elipses are circles.
To put it simply, no, it would not work. Also, it wouldn't even suck your own bandwidth. You can do some extremely fun things otherwise. Please realize that PHP scripts have a timeout and maximum memory usage.
I've run IRC bots and such on other peoples servers, written in PHP, and they really eat up bandwidth. If I get my RTB server going, I'll do a controlled experiment with bandwidth suckers.
Thanks for reading my article by the way!
Hellbound Hackers is the collective work of the staff and the community and is therefore licensed under the CC BY-NC-SA license.