Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help With Reading Files, Read and replace/insert data from form
tuddy
post Aug 5 2005, 04:19 AM
Post #1


Privileged Member
*********

Group: Members
Posts: 570
Joined: 5-July 05
From: Ballarat
Member No.: 9,042



Hi,

Does anyone know how i can do this, or scripts that will work on Trap17's servers and will do the following:

I have a .doc file form. Which i want to have filled in automactically, by HTML Form and emailed to my address, with the data filled in.

Any ideas?

I have heard many differing things, like XML, RTF, DOC, PDF...

I have serched through many places and come up empty handed with anything that works. sad.gif
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Aug 5 2005, 05:17 AM
Post #2


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,467
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



I have fooled around with cgiemail, which is builtin script in the hosting, and the only way this will work is through a simple TXT file. If that's alright with you I can post for further instruction on how to use this builtin feature.

For the preview, all you need to do is assign name="namefield" and use your HTML form to
HTML
<input type=text name="name1">
...
<input type=text name="name2">
...

And write a simple TXT file with:
CODE

Name of the first [name1], and the name of the second [name2].


This will email to you with [......] field filled with the response filled by your HTML form page. Such that,
CODE

Name of the first Jack, and the name of the second Spicer.
Go to the top of the page
 
+Quote Post
guangdian
post Aug 5 2005, 05:37 AM
Post #3


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,183
Joined: 24-September 04
Member No.: 1,245



i just know php and asp script can do this
but i'm not sure even it can automatically do it.
then i just not sure the .doc file can do it automatically sorry
Go to the top of the page
 
+Quote Post
tuddy
post Aug 5 2005, 08:43 AM
Post #4


Privileged Member
*********

Group: Members
Posts: 570
Joined: 5-July 05
From: Ballarat
Member No.: 9,042



It doesn't matter what type the file is, XML, RTF, PDF etc. as long i can convert it to that type fromt .doc file.

Also what ever script or lanuage doesn;t really matter either, as long as it will work with Trap17s servers. and on my site.

Has anyone done a Tutorials for this based on trap17 servers?

Thanks for your great help. This is a way of learning for me!...add it to the list! biggrin.gif
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Aug 5 2005, 10:43 AM
Post #5


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,467
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



QUOTE(tuddy @ Aug 5 2005, 04:43 AM)
It doesn't matter what type the file is, XML, RTF, PDF etc. as long i can convert it to that type fromt .doc file.

I have written a short tutorial for you here http://www.trap17.com/forums/index.php?sho...ndpost&p=170547
When you open TXT file you can open and save to DOC file type. That's not hard.

QUOTE
Also what ever script or lanuage doesn;t really matter either, as long as it will work with Trap17s servers. and on my site.

There are other free scripts you can download and install it in your hosting but why not use the free one if it serves your purpose, right? You can search for more by typing FORMMAIL.

QUOTE
Has anyone done a Tutorials for this based on trap17 servers?
*


Sure, we have the tutorial section with 4 formmail tutorials. Remember that you can search for topics. That's why writing the correct title and description is VERY IMPORTANT to this forum (it's also TOS--terms of service).

One thing off the topic: Please refrain from using unnecessary spaces between your sentences. Otherwise

it will look

terrible and waste of

space.

Thank you.
Go to the top of the page
 
+Quote Post
tuddy
post Aug 6 2005, 10:14 AM
Post #6


Privileged Member
*********

Group: Members
Posts: 570
Joined: 5-July 05
From: Ballarat
Member No.: 9,042



Ok, so FORMMAIL will help me with this?
The file type has to be able to support formatted test, and tables.
BTW, Sorry about the spaces thing rolleyes.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Download Any Flv Files From Any Sites(5)
  2. About Posting Form(2)
  3. Text Size In "fill-in" Form Blanks(2)
  4. Create Dynamic Html/php Pages Using Simple Vb.net Code(1)
  5. Im Making A Mmorpg >>(14)
  6. Data Structures -- String -- Palindrome(5)
  7. Data Structures -- Linked List(8)
  8. Design A Contact Form In Flex Part 1(0)
  9. Clearing Your Ie Tif(0)
  10. Trap17 Gets Supernatural: Topics Disappear!(7)
  11. How To Disable "show Hidden Files And Folders" In Folder Option(12)
  12. Php Ftp Upload Form(1)
  13. Read This At Any Cost Before Posting Here(8)
  14. Eclipse Exporting .jar Files(5)
  15. Eragon(53)
  1. Need Advice On Setting Up Mysql Database.(3)
  2. Read-only Folders In Xp(13)
  3. Last Book You Read?(192)
  4. What Is A Computer Form Factor(1)
  5. My Ipod Is Randomly Skipping Songs, Losing Data,(22)
  6. Panasonic Lumix - Problems With Movie Files(0)
  7. Living Everyday Happily And Meaningfully(5)
  8. Dvd Drive Problem(10)
  9. Browse System Files In The Browser...(2)
  10. Perl For Automated Web Form Search(1)
  11. Get 30 Gb Email For Free(31)
  12. Compatibility/major Question(5)
  13. The New And Very Good Free Host Server(13)
  14. Lan Surfer In Linux(2)
  15. Read This Before Applying For Hosting!(56)


 



- Lo-Fi Version Time is now: 5th September 2008 - 07:22 AM