Click to See Complete Forum and Search --> : what is the .ATT file extension?


bash
03-18-2003, 06:33 PM
I have created a form for user input on my site, but when the send button is pressed for information to be sent to my email address, i receive a file with the extension .ATT

In fact the code which i have used is just for testing before i actually create a proper form -

<form method="POST" action="mailto:me@mydomain.com">
<input type="text" size="35" maxlength="256" name="Name">
<input type="submit" value="send">
<input type="reset" value="Clear Form">
</form>

I do receive the form data via email with the filename POSTDATA.ATT

This .ATT file extension is not recognised????

When i eventually create a proper form to put on a website, what software would be needed to associate this file extension so it can be opened???

I hope someone can help me???

Thanx in advance.

bash
03-19-2003, 08:22 AM
Thanx Dave for the reply.

So what would be the best option please?

Tim158
03-19-2003, 10:53 AM
I think it is best to use a server-side script for emailing, like PHP.

Create a .php file and insert the following code:

<?

$message = "From: $name";

mail( "me@mydomain.com", "Email from $name",
$message, "From: $email" );

?>

Then put the .php filename (URL) into the action attribute of the form element.

NOTE: This script is pretty simple and it can be abused by users (i.e. you can end up with a load of blank emails in your inbox - research PHP form validation to prevent this)

DaveSW
03-19-2003, 02:02 PM
enctype="text/plain"

Try this in form method

DaveSW
03-19-2003, 02:04 PM
<form method="POST" action="mailto:me@mydomain.com" enctype="text/plain" >

like this


Or:

If it's coming to you, under windows you can associate the file with a package like word or wordpad, and as i originally did, write a macro to remove all the strange formatting.

jalarie
03-20-2003, 08:19 AM
ATT : AT&T Group 4 bitmap graphics (Source www.file-ext.com)

jalarie
03-21-2003, 07:03 AM
The original question was, "what is the .ATT file extension?" Your response was, "There is no software for the .att file extension." The software does exist and I specified where to get it if the original poster wishes but I think it makes more sense to do the job as Tim158 and DaveSW stated.

jalarie
03-24-2003, 06:39 AM
I think it makes more sense to do the job as Tim158 and DaveSW stated than to argue about something we both agree does not actually apply even if it does answer the question as originally asked.

DaveSW
03-24-2003, 07:05 AM
lets just get this straight. My method is a quick fix. Just to get it running. Tim's method is the proper way, which may take a little while to get the hang of, hence the quick fix. End of problem. So can we leave it at that please? Please?