Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | IE7 Warning using forms


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

IE7 Warning using forms
Reply
 
Thread Tools
Old 12-03-2008, 22:20   #1
while(!naked){--clothes}
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,086
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
IE7 Warning using forms

hey everyone,

I made a form a while back for my club and this sent info by opening up the persons email client and adding in information to the body of the email.

I tried another version of this form and it works great from FF to Thunderbird, but IE gives me a warning and does not put the information on the email body.

I get the warning screen below.

is there anyway I can get round this?

oh I am posting the form with text/plain

ik
Attached Images
File Type: jpg warn.JPG (15.6 KB, 50 views)
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
ikthius is offline   Reply With Quote
Old 13-03-2008, 12:58   #2
ntl,why not?
 
supered's Avatar
 
Join Date: Jan 2004
Location: N.E. Lincs
Age: 53
Posts: 124
supered has disabled reputation
Re: IE7 Warning using forms

I get this with IE6, as far as I could find out IE doesn't support this feature any more, it's a shame
supered is offline   Reply With Quote
Old 13-03-2008, 13:06   #3
cf.procrastinator
 
bmxbandit's Avatar
 
Join Date: Oct 2004
Location: Nottingham
Posts: 1,314
bmxbandit has reached the bronze age
bmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze age
Re: IE7 Warning using forms

If your server supports PHP, would be neater to send email server side (appropriately sanitised), and would also ensure it was in the format you specify. The user may not even have a mail client installed! Otherwise, what's the advantage to the form over just displaying your email address?

Sorry, perhaps not the most helpful of answers...
__________________
I brake for cake!
bmxbandit is offline   Reply With Quote
Old 13-03-2008, 14:26   #4
cf.geek
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 36
Services: Virgin Media 2 for £20 (2Mbit & Phone), Sky+
Posts: 652
MikeyB is a glorious beacon of lightMikeyB is a glorious beacon of lightMikeyB is a glorious beacon of lightMikeyB is a glorious beacon of lightMikeyB is a glorious beacon of lightMikeyB is a glorious beacon of lightMikeyB is a glorious beacon of light
Re: IE7 Warning using forms

Quote:
Originally Posted by supered View Post
I get this with IE6, as far as I could find out IE doesn't support this feature any more, it's a shame
In my opinion no browser should support this feature, not only is it so unreliable, but also very insecure.

It works by relying on the visitor having an email program installed, and it setup as the email client in their browser.

It never works with MS Outlook where I work, and I think it hardly ever works with webmail.

A server side solution is much better, PHP, ASP, perl etc, if your web host supports it.
If your host does not, I'd recommend using http://www.response-o-matic.com/ I used them years ago before I got decent hosting.


Mike
__________________
When there's always biscuits in the tin, where's the fun in biscuits?
http://www.totalhumour.com - Jokes and funny stuff!
http://www.playretro.co.uk - Old computer games and stuff!
MikeyB is online now   Reply With Quote
Old 13-03-2008, 14:47   #5
.NET 2.0 Developer
 
AntiSilence's Avatar
 
Join Date: Jul 2006
Location: Sutton-In-Ashfield
Age: 30
Services: Software & Web Application Development
Posts: 2,323
AntiSilence has a bronze arrayAntiSilence has a bronze arrayAntiSilence has a bronze array
AntiSilence has a bronze arrayAntiSilence has a bronze arrayAntiSilence has a bronze arrayAntiSilence has a bronze arrayAntiSilence has a bronze arrayAntiSilence has a bronze array
Re: IE7 Warning using forms

I have a Contact Us form on my business site that I made, but I use my own class (server side in .NET) that sends the email. It doesn't use any client side email applications. Much better that way.
__________________
AntiSilence is offline   Reply With Quote
Old 13-03-2008, 15:55   #6
while(!naked){--clothes}
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,086
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Re: IE7 Warning using forms

problem is I think the site will be hosted on a virgin account.

thats why I was wanting it this way, damn ok then, I will get back to you about possible other langauges if they aggree to get it hosted on a paid server.

cheers though

ik
__________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
ikthius is offline   Reply With Quote
Old 13-03-2008, 16:18   #7
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 9,762
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: IE7 Warning using forms

Check out www.hostforweb.com for some v. good hosting prices
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 13-03-2008, 16:36   #8
cf.geek
 
webcrawler2050's Avatar
 
Join Date: Feb 2008
Location: Gloucester
Services: V+ VM 20MB VM Fixed Line VM Mobiles
Posts: 581
webcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to beholdwebcrawler2050 is a splendid one to behold
Send a message via MSN to webcrawler2050 Send a message via Skype™ to webcrawler2050
Re: IE7 Warning using forms

If you give me a PM I can do you a "good deal" for your hosting - Starting at about £3.50 per month for you hosting. Inlcudes, PHP, MYSQL, cPanel etc!

Re: The Form - this is caused by the mailto:email@emailaddress problem - this form will only work if the user has outlook or a pop 3 program installed a setup - most people do - some people don't.


HTML Form
PHP Code:
<form method="POST" action="contact.php">
Fields marked (*) are required

<p>Salutation:<br>
<
input type="text" name="Salutation">
<
p>Name:<br>
<
input type="text" name="Name">
<
p>LastName:<br>
<
input type="text" name="LastName">
<
p>Tel:<br>
<
input type="text" name="Tel">
<
p>Mobile:<br>
<
input type="text" name="Mobile">
<
p><input type="submit" name="submit" value="Submit">
</
form>
<
p
PHP Form - To be called contact.php
PHP Code:
<?php

// get posted data into local variables
$EmailFrom "test@test.com";
$EmailTo "test@test.com";
$Subject "Test Form";
$Salutation Trim(stripslashes($_POST['Salutation'])); 
$Name Trim(stripslashes($_POST['Name'])); 
$LastName Trim(stripslashes($_POST['LastName'])); 
$Tel Trim(stripslashes($_POST['Tel'])); 
$Mobile Trim(stripslashes($_POST['Mobile'])); 

// validation
$validationOK=true;
if (!
$validationOK) {
  print 
"<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">";
  exit;
}

// prepare email body text
$Body "";
$Body .= "Salutation: ";
$Body .= $Salutation;
$Body .= "\n";
$Body .= "Name: ";
$Body .= $Name;
$Body .= "\n";
$Body .= "LastName: ";
$Body .= $LastName;
$Body .= "\n";
$Body .= "Tel: ";
$Body .= $Tel;
$Body .= "\n";
$Body .= "Mobile: ";
$Body .= $Mobile;
$Body .= "\n";

// send email 
$success mail($EmailTo$Subject$Body"From: <$EmailFrom>");

// redirect to success page 
if ($success){
  print 
"<meta http-equiv=\"refresh\" content=\"0;URL=ok.htm\">";
}
else{
  print 
"<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">";
}
?>
__________________
Richard Copestake
Bionic Hosting Ltd
Company No: 6604305
Tel: 0800 756 1189: 24/7 Telephone Support | Fax: 01452 357971 - UK Web Hosting

Last edited by webcrawler2050; 13-03-2008 at 16:40.
webcrawler2050 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


All times are GMT +1. The time now is 12:26.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2003 - 2008, Cable Forum.
(s204569790.onlinehome.info)