Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Getting blank contact form messages without submitting a form.
Old 12-05-2008, 07:38 PM Getting blank contact form messages without submitting a form.
Junior Talker

Posts: 1
Trades: 0
On my website I used a combination of HTML and PHP to render pages. Every time I navigate through the site pages, I recieve tons of emails with blank contact form information. I don't know why I'm getting them because I never submitted a form (just navigating through pages).

Does anyone know why this is happening?

Another strange thing is that I can't find the email address string in any of the web pages. Yet, I still receive the emails addressed to me despite not finding that they exist in the pages.

I do have a contact page but it has validation on it so it should not send email with blank field values.
szahn is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-05-2008, 09:34 PM Re: Getting blank contact form messages without submitting a form.
amw_drizz's Avatar
Ultra Talker

Posts: 340
Name: Jon
Location: New York
Trades: 0
is the email coming from your site directly? How are you sending the emails in your form? send/mail? or smtp? if smtp put into effect if you can and if it hasn't already login to smtp before sending mail.

Do you receive emails when ever some visits your site or just you?

My guess is that php mail() function is being called automaticly some how.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
amw_drizz is offline
Reply With Quote
View Public Profile Visit amw_drizz's homepage!
 
Old 12-08-2008, 07:07 AM Re: Getting blank contact form messages without submitting a form.
Skilled Talker

Posts: 85
Name: Ilyes Rhouma
Trades: 0
There are in one of your pages a php script to send email ...
So it sends email every time page is loaded
This may be due that some day you where testing a php mail script, and maybe forget it in some page and didn't delete.
And of course blak because it does'n received fiels from any contact.

So what to do ?
check out what page is causing the sent emails... i mean naviguate in some pages, check email, until you find the page that send it, and just fix that...
Or, if all pages sends email, so I think your are using something like
Code:
 include ("sendmail.php");
or somethink like that, then make sure that not all pages include the script...

Ihope this will help you
Good luck !
__________________
Want a cheap and custom programmer or writer ?
Please login or register to view this content. Registration is FREE

Are you
Please login or register to view this content. Registration is FREE
? Start
Please login or register to view this content. Registration is FREE
free and earning money !
Please login or register to view this content. Registration is FREE
Ilyes is offline
Reply With Quote
View Public Profile Visit Ilyes's homepage!
 
Reply     « Reply to Getting blank contact form messages without submitting a form.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31643 seconds with 12 queries