Jump to content
xisto Community
Sign in to follow this  
tuddy

Help With Reading Files Read and replace/insert data from form

Recommended Posts

Hi,Does anyone know how i can do this, or scripts that will work on Xisto'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. :D

Share this post


Link to post
Share on other sites

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

<input type=text name="name1">
...
<input type=text name="name2">
...


And write a simple TXT file with:

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,
Name of the first Jack, and the name of the second Spicer.

Share this post


Link to post
Share on other sites

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 Xisto servers?Thanks for your great help. This is a way of learning for me!...add it to the list! :D

Share this post


Link to post
Share on other sites

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://forums.xisto.com/topic/25640-how-to-use-Xisto-cgi-formmail-a-built-in-script-in-every-hosting/

When you open TXT file you can open and save to DOC file type. That's not hard.

 

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.

 

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

170489[/snapback]

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.

Share this post


Link to post
Share on other sites

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 :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.