TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Question for anyone who uses allstuffmailer.

Page: 1 Reply
Dec 3rd 2003#131622 Report
Member since: Dec 13th 2002
Posts: 904
Ok, for any of you who use allstuffmailer, do you sometimes get blank e-mails? Like someone went to your site and clicked 'send' without typing any info. I keep getting these and its frikkin annoying.
Reply with Quote Reply
Dec 3rd 2003#131631 Report
Member since: Mar 24th 2003
Posts: 586
Well here's my deal man. I got this guy sending me emails and his logo shows up on my email even though I have images blocked. So the .gifs and .jpegs get blocked until I hit "show images"

But this guy's logo shows up anyway and when I right click it to save it gives a title of "ShowLetter".

Do you guys know how that works? How can you get images to bypass the image guard.

Now on to .02's question, as I was looking up something from the code of this guys' email to me with his logo, it has a code that goes something like this:

It's got the DIV's and all but under the image it has src=id or cdi in quotes. Then a bunch of numbers and the image size and more numbers then @aol and stuff.

When I looked it up at google it sent me to all kinds of sites with what .02 is asking about. I don't have an answer but I'm wondering if you guys know, and maybe you can answer both questions with one answer.

But I've heard of those blank emails going around and it has something to do with this code on there, because it won't show where it's hosted in an ordinary way.

hmmmm.........anyone?
Reply with Quote Reply
Dec 3rd 2003#131722 Report
Member since: Mar 16th 2001
Posts: 2421
You should never get those? It runs a routine to check for required fields before it sends the email.
Reply with Quote Reply
Dec 4th 2003#131761 Report
Member since: Mar 24th 2003
Posts: 586
I don't know if I get what you mean pank. For instance in my case, as stated above about the guy who emails me and has his logo show up, he's a guy who buys web banners off of me.

So do I just tell him to send it differently or do I just not open them or what? I mean what do you mean we should never get those? As in don't open them?

Any info would be great! Check ya out later.

Cheers!
Reply with Quote Reply
Dec 4th 2003#131787 Report
Member since: Nov 26th 2001
Posts: 2586
His (02's) doesnt check for anything. I checked and clicked send with no info and it replied "thanks"....
Reply with Quote Reply
Dec 4th 2003#131788 Report
Member since: Dec 13th 2002
Posts: 904
how can I make it check for something?
Reply with Quote Reply
Dec 4th 2003#131789 Report
Member since: Nov 26th 2001
Posts: 2586
Real basic validation:

you are going to have some form variables (in an array) like this:

[PHP]
$_POST['name'];
[/PHP]

So just check to see if they are blank:

[PHP]
if ( $_POST['name'] == ' ' ) {
// give some error message.
} # end if
[/PHP]


other possibilities:
[PHP]
$name = strip_tags(trim($_POST['name']));
[/PHP]

which removes any blank space (from the beginning and end) and also removes any html tags.

There is more you can do, like check to see if it's a valid type of email and slash out any ' -> ie ' becomes \' (I am forgetting the function name that does this....).... etc...
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum