Endless php mail loop

I have a problem running a script on my (VPS) php server. I accidentally created an endless php mail () loop. (forgot to add one to $ i). I believe it was something like this:

while($i<30){mail("me@gmail.com","Its me","Hi me!","Greetings"); }

I think I finished the script, but mail is still flooding my gmail-box. I tried deleting the .php file and restarting the server, but after rebooting, the email messages appeared again. I have ssh-access, but I don’t know how to stop sending emails. Since I am not very good at the command line, can you provide some instructions?

+4
source share
2 answers

SSH. ( PeeHaa) ps aux. 20 postfix-. pkill -u postfix. Charlie S (postsuper -d ALL).

, , !

+2

script php.in. [ - ], php.ini -.

, - ... . lol , script

+4

All Articles