Forum Moderators: open

Message Too Old, No Replies

Spiders and ASP pages

         

webboy1

11:33 am on Dec 9, 2002 (gmt 0)

10+ Year Member



Supposing i were posting a form to an ASP page which sent out emails.

If i had deleted the actual form, but kept the ASP script page. Would a spider accesing this page cause the page to run the script?

I have been receiving around 5 emails one day every week for a couple of weeks now from a script i had setup not to long ago.

any ideas?

Regards
Webboy

BlobFisk

11:41 am on Dec 9, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I wouldn't have thought so - the script would be looking for variables sent to it by the form and would use those variables to create the email. Therefore, if the form is gone there is nothing sending variables to your script.

I don't think that spiders submit forms on their trawls. Are the emails formatted with content?

Dreamquick

12:22 pm on Dec 9, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Depends how you/someone coded the script.

If it checked that it had suitable data before it despatched an email to yourself then the answer is obviously no since it would check and presumably find it should not allow an email to be sent.

However if the script sends an email without checking the data it has been supplied (including if that data is present or not) then yes, anything requesting the script could well be spawning emails!

I'd suggest either removing the script or protecting it from good robots using the robots.txt

Alternately if it has all the data it requires then either;
a) somewhere on the site is still using it
b) someone has found your script and is messing around with it

- Tony