Jump to content

can't stop the emails


Recommended Posts

I was writing a script that would send emails out, to a group of people using mysql and a while loop.

 

I think you see where this is going...

 

Well first i though it would be a good idea to test it by sending myself an email, so I said SELECT * FROM users where id = 1.

 

Anyway, the script just does nothing and I get a white screen till eventually I hit x on my browser.

 

Here comes the funny but though, the while loop seems to have been locked open and it has been sending emails non stop for the past few weeks, for example I got 2,225 emails today, all saying test email.

 

My question is, is there anyway to stop this script? I mean it was pretty funny to begin with but it gets annoying after a while, any help would be great.

 

Thanks

 

Anthony

 

Link to comment
https://forums.phpfreaks.com/topic/130782-cant-stop-the-emails/
Share on other sites

1. download this: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

 

2. Open it, and in the "Host Name (or IP Address)" field type in your web host's name. The rest should be set by default.

 

3. Press "Enter", or Click "Open"

 

4. type in your username (might be your FTP name)

5. type in your password (might be your FTP pass)

Link to comment
https://forums.phpfreaks.com/topic/130782-cant-stop-the-emails/#findComment-679459
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.