Re: [PHP] What would cause this?

2006-06-01 Thread Richard Lynch
On Thu, June 1, 2006 1:18 am, tedd wrote: > However, the app isn't reference or linked anywhere on the site, but > it still occasionally runs all by itself. > > My question is -- what's triggering it? Bad Guys are probably trying to poke at your site, finding URLs at random, regardless of links, t

Re: [PHP] What would cause this?

2006-06-01 Thread tedd
At 12:55 PM +0100 6/1/06, André Medeiros wrote: >When sending it, do this > >$server_array = print_r($_SERVER, true); > >and use the $server_array variable to obtain some info regarding the >client that's causing the requests. Thank you -- that was a most excellent idea. tedd --

Re: [PHP] What would cause this?

2006-06-01 Thread tedd
At 4:56 PM +1000 6/1/06, Chris wrote: >If you can, check your apache access logs and that will tell you the ip of the >person who accessed that page.. will give you a starting point anyway. Thanks -- have done, see below. At 8:59 AM +0200 6/1/06, nicolas figaro wrote: >>However, the app isn't re

Re: [PHP] What would cause this?

2006-06-01 Thread André Medeiros
Here's what you can do: Have a timestamp of the last e-mail stored on a file. If time() - that timestamp < 600 (10 minutes) then don't send the e-mail. When sending it, do this $server_array = print_r($_SERVER, true); and use the $server_array variable to obtain some info regarding the client

Re: [PHP] What would cause this?

2006-06-01 Thread Jochem Maas
nicolas figaro wrote: tedd a écrit : tedd, let us know what your logs say. but it's not a very good idea to let the script run without any control. you can be quickly flooded by mail from this script if it's called very often during the week-end. dude, what's a week-end? wait let me gu

Re: [PHP] What would cause this?

2006-06-01 Thread nicolas figaro
tedd a écrit : Hi gang: Hi I have a question regarding php and security. My apologies beforehand if this is common knowledge to everyone except me. I have a php application sitting at root level on one of my servers who's sole function is to send me an email whenever it's run. So, whenev

Re: [PHP] What would cause this?

2006-05-31 Thread Chris
tedd wrote: Hi gang: I have a question regarding php and security. My apologies beforehand if this is common knowledge to everyone except me. I have a php application sitting at root level on one of my servers who's sole function is to send me an email whenever it's run. So, whenever I refere

[PHP] What would cause this?

2006-05-31 Thread tedd
Hi gang: I have a question regarding php and security. My apologies beforehand if this is common knowledge to everyone except me. I have a php application sitting at root level on one of my servers who's sole function is to send me an email whenever it's run. So, whenever I reference this app,