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

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

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

tuddy
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

Reply

BuffaloHELP
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.

 

 

 


Reply

guangdian
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

Reply

tuddy
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

Reply

BuffaloHELP
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.

Reply

tuddy
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. easyphp "read files" - 251.36 hr back. (1)
Similar Topics

Keywords : reading, files, read, replace, insert, data, form

  1. About Posting Form
    (2)
  2. Text Size In "fill-in" Form Blanks
    How do you change the size of the text in the fill in form entry boxes (2)
    Thanks for all the help on my previous question about adding an address to a "Submit" button.
    I've also been able to add a "print page" button through the help from group members. I now have
    another question. I've created a form using the Input commands that ask for name, address,
    state, etc. My computer is set to use 12 point text on a 800 x 600 screen resolution. When I hit the
    print screen button, everything is printed out fine, but I would like the information that people
    will be entering into the various boxes to be of a larger or bolder style. The whole re....
  3. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
    This example will show you how use a string in VB to create PHP code. In order to do this, you need
    a string to store your PHP page and a function that I will list at the bottom of the page for you to
    put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
    String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
    ---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
    -------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
  4. Design A Contact Form In Flex Part 1
    (0)
    Design a Flex Form Part 1 Well this is my first tutorial on Adobe Flex 3 which is a great program
    if you’re interested in designing applications for the web 2.0 era. Adobe flex is the way to go as
    it combines several different programming languages in order to make the most out of this program.
    This includes HTML, CSS, XML, PHP/MySQL, XML, ActionScript, Ruby on Rails and ASP and this is all
    possible by the use of MXML or Magic eXtensible Markup Language because it is a user interface
    markup language. My three part tutorials for this form include designing the form, a....
  5. Clearing Your Ie Tif
    Clear your Temporary Internet Files on IE (0)
    -Welcome to: Clearing your Internet Explorer Temporary Internet Files Tutorial-!
    Attention!: As some of the members on here may know, it is possible to clear your Internet
    Explorer Temporary Files. I have searched this entire Tutorials subforum to find a topic already
    made, and I have found nothing. This tutorial I did NOT find this on Google, or any other search
    engine. I always find this out for myself. Lets start: Ok, first we open up Internet Explorer,
    then we click "Tools"...then we click on "Internet Options...". On the Main page "Gener....
  6. How To Download Any Flv Files From Any Sites
    (6)
    Now you can download any flv files from any websites!! People often know how to download
    youtubes clip, but not from other sites. In this tutorial you will need a tool name Moyea FLV
    Downloader, it is free and you can download it at http://www.flvsoft.com/download_flv/ This is
    the best tool i have meet up with to download flv files in any site. Since it can detect flv files,
    and list it, you can download it as you want, so no more favourite clips goes away from your sight
    and now you have it on your own hard drive! 1. Run moyea flv downloader see 1.jpg 2.....
  7. Trap17 Gets Supernatural: Topics Disappear!
    We post byt we cannot see it and others cannot read it! Why? (7)
    To whom it may concern, Dear sir, Strange things happen after the rollback thunder and it still
    makes things disappear. No logic at all. Today I posted a topic about Safari we browser . The link
    is there on the forum list but I just cannot open my own post. Elf? UFO? Rollback? Whatever it
    is, it gave me the following error: Board Message CODE Sorry, an error occurred. If you are
    unsure on how to use a feature, or don't know why you got this error message, try looking
    through the help files for more information. The error returned was: Sorry, some r....
  8. Need Advice On Setting Up Mysql Database.
    I have a huge amount of daily data updates to be inserted. (3)
    First of all, to get the idea of what I am trying to achieve here, please have a look at my
    idea thread, entitled Idea For Using A Cron Job To Grab Daily Travian Map.sql Updates . This gives
    a prelude to the project, what it is for, what it is supposed to do, etc. Now, what I need is
    specific advice on setting up the mySQL database(s) to implement this idea. There is a useful FAQ
    file for how to make use of the map.sql data located on the help.travian.com website, which also
    gives an example of the CREATE TABLE instruction that matches the data in the map.sql fi....
  9. Panasonic Lumix - Problems With Movie Files
    troubles managing (renaming, moving, deleting) movie files from the ca (0)
    I've recently bought a Panasonic Lumix TZ3, the one with a wideangle to telephoto lens (10x zoom
    from 28mm to 280mm equivalent) and I am very satisfied with the overall performance. Obviously I
    didn't buy the camera because of the movie features but occasionally I do take some short clip
    or use the "picture with audio" to comment on a photo, these functions are pretty easy to use and
    the quality of the video is reasonable. The movie files (or the audio attached to a picture) get
    saved in Jpeg Motion Picture format, generating a .MOV file which appears on the me....
  10. Compatibility/major Question
    Please read I WILL BUY If I Get Help (5)
    Ok, so Im like 13 and almost 14, and I'm wanting to buy a site from you. Ive read everything
    there is, and I do know html and other stuff like javascript. I want to go for your 7.77 a month
    deal which would only be 102 dollars canadian per year. I see how you guys have this awesome Cpanel,
    Rvskin, and fantastico deluxe. I really think you have great deals, and of course your trying to
    make money, which no one should have a problem with because you dont scam people and have worked
    hard to create an amazing group of corporations! -------Now to the Question------- ....
  11. Lan Surfer In Linux
    GUI software to view other's shared files (2)
    I have been using LAN surfer and Network scanner in Windows , These software's are used
    to scan the LAN over a given range of IP addresses and then display the folders shared by each
    computer available on LAN in the specified range... now i have switched to Linux... Can you tell me
    any GUI software which would do this task in Linux ubuntu 7.04. I tried nmap but i did not
    find it that useful...i think it does only port scanning and stuff but does not display the files
    shared... but i am not sure..tell me if it can be used and how... I also installed s....
  12. Browse System Files In The Browser...
    (2)
    Hi all Trap 17 people... I am not sure if you are already aware of this fine piece of information,
    But definitely a must know feature... Browsing your system files in your browser. For more visit the
    below link http://varalu.blogspot.com/2008/07/browsin...in-firefox.html You can use this feature
    to do so many stuffs... pretty much useful for addon developers. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  13. Perl For Automated Web Form Search
    (1)
    Hi all, I'd like to write a script to automate a search in order to collect data from an online
    database. The database is an archive of newspaper articles. The search is for certain words/text. It
    is searchable via a form only. The rub is that only a small portion (a month) at a time is
    searchable. I need to search every day for 50 years or so. Manually, this would take a considerable
    amount of time. I'm thinking of using perl or ruby or something similar. I am an absolute
    beginner with scripting and haven't done much formal learning in the subject since a ....
  14. Php Ftp Upload Form
    Adding User Directory to PHP Upload Form - Help (1)
    Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
    folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
    directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
    upload things into the main directory, only sub-directories, is that possible with this coding that
    I have: //uses $_FILES global array //see manual for older PHP version info //This
    function will be used to get the extension from the filename function get_extension($fi....
  15. Living Everyday Happily And Meaningfully
    when you are getting down, please read this and think deeply (5)
    Do you feel sad? Whenever you are down or face problems please don't be sorrow for your sake.
    It is not only you in this world. Let's think about others. There are millions of people who
    try to survive. Many disability people and some people who are suffering illness are trying to
    overcome. They all have never given up. So, you should thank God. You should live everyday
    happily and meaningfully by helping other people. /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" /> Sometimes, we all are busy with our work and work as R....
  16. Data Structures -- String -- Palindrome
    Check if a string is a palindrome... (5)
    Write an algorithm to check whether a given string is palindrome or not in time complexity O(n)
    What is a palindrome?? QUOTE A palindrome is a word, phrase, number or other sequence of units
    that has the property of reading the same in either direction (the adjustment of punctuation and
    spaces between words is generally permitted). Composing literature in palindromes is an example of
    constrained writing. The word "palindrome" was coined from Greek roots palin
    (πάλιν; "back") and dromos (δρóμος; "way,
    direction") by....
  17. Data Structures -- Linked List
    Find the nth last element in linked list. (8)
    Given a linked list, find the 5th last element with Time complexity O(n) and minimal space
    complexity. Note: If you know the answer and if you feel it is simple also please post the
    answers so that others will come to know about the answers. What is a linked list?? /* this is for
    your further reference and reading */ QUOTE In computer science, a linked list is one of the
    fundamental data structures, and can be used to implement other data structures. It consists of a
    sequence of nodes, each containing arbitrary data fields and one or two references ("links") po....
  18. How To Disable "show Hidden Files And Folders" In Folder Option
    (12)
    How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
    or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
    properties and then select Hide file) But if you open Folder Option and check "Show hidden files
    and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
    below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
    address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
  19. Eclipse Exporting .jar Files
    Could not find main class. Program will exit. (5)
    I need help! I've been using eclipse for a while making little applets, and now I've
    decided to look at some tutorials on how to make simple applications. I've found a pretty good
    tutorial that tells you how to make a helloWorld app with swt and jFace, and also has an example
    file explorer that you can make. They both work perfectly from inside eclipse, but when I try and
    export either one into a .jar file, they don't work anymore. It comes up with a message saying
    "Could not find main class. Program will exit." In the little wizard it has for....
  20. What Is A Computer Form Factor
    (1)
    As I began my hardware class in school I knew I was going to be learning some new stuff about a
    computer that I never really thought about besides the fact I use one. Hopefully what I talk about
    in this topic will help people get a better understanding of computer hardware, especially when
    might want to build one by scratch. The form factor is used to determine what power supply,
    computer cases and motherboards you can use when building a fully customized computer instead of
    getting one pre-built; such as Dell, Apple, Sony, and Alienware. There are 6 form factors (in....
  21. Get 30 Gb Email For Free
    let us talk about , email system for huge data ! (31)
    Friends here we are talking about largest email, free System http://www.30gigs.com this one is
    good and can handel many file at a time. plz let me know any one having this type of information
    ! Also for small user www.walla.com is good one....
  22. Eragon
    Anyone else read it? (53)
    I've just finished reading Eragon and now I'm moving on to read Eldest, and I gotta say,
    what a great book! It's a fantasy novel by Christopher Paolini about a young boy about 15
    years old who finds a blue stone. It turns out to be a dragon inside and he and his dragon, Saphira,
    travel the world seeking revenge for the death of his family. The story unfolds as he forms
    alliances and enemies and travels to exotic locations. I'll not say anything else in case
    someone is only a little way into the book because I don't want to spoil anything. So, has....
  23. Dvd Drive Problem
    It Wont Read Anything! (10)
    Recently my DVD drive was playing everything, today i put a dvd disk in, it says nothing comes up
    with no auto play or nothing loads at all. so i go to my computer and load from there, it dont load.
    It says please insert disk... Im like WTF so i put a cd disk in and the same exact thing happened. i
    tried about 7 different disks including cd and dvd disks and burned ones too. Nothing at all, So i
    go to google and check around for tuts on fixing this, it gives me this registry thing. Like delete
    lowerfilter and upperfilter in this folder. I do it, Still nothing happens, so....
  24. My Ipod Is Randomly Skipping Songs, Losing Data,
    regaining data, and freezing (22)
    This morning I was going to listen to some music, so I got my iPod, turned it on, and it reset (I
    hadn't had it plugged in for a while). When I got to the music, it would go through half of a
    song, then skip to the next. After doing this a couple times, it would just skip entire songs.
    It'd skip six or seven, then do half of one, then skip six or seven more. Later I looked on the
    internet for some ideas, so eventually I tried resetting it again, as instructed. This worked for a
    little bit, but then it started skipping over songs again. I reset again, and it lost....
  25. The New And Very Good Free Host Server
    For upload/share files.www.rapidshare.se (13)
    Here it is: http://www.rapidshare.se/index.php Go check it out! I've heard good
    things about this free upload server.....
  26. Read-only Folders In Xp
    Can't change Read-Only attribute in XP (13)
    Hi, I am working with a firma. We use WinCvs which is a software similar to perforce. I downloaded
    the developement to C: (eg. c:/development) The folder c:/development and the folders under it have
    Read-Only permisions. I need to remove that restriction. I press right-button, i unchecked the
    read-only check-box and i apply to this folder and folders under it. Whe it finisehd i click ok. Whe
    i press the right button again i discovered that the folder has still the read-only attribute. So it
    seems nothing changed. something similar happen to you? How can i uncheck the ....
  27. Im Making A Mmorpg >>
    Have a read... (14)
    can you give your ideas for my new game. if you want to help me even more then send me a private
    message Thanks Tyjotr __________________________________________________ HybridHero - the new 3d
    MMORPG (coming soon)....
  28. Read This At Any Cost Before Posting Here
    THE CPANEL DOCUMENTATION (8)
    Most of you might have problems regarding web Hosting. We give literally ALL THE CONTROLS to our
    Clients. Unlike OTHER HOSTS , WE do NOT Block Critical Features and let our members explore through
    them. ALL the ERRORS you might get can be corrected or is a result of misconfiguration at the
    Cpanel. We have the same amount of control as you have. We give you everything. So if you DO NOT
    understand how to go with Cpanel, READ THE FOLLOWING DOCUMENTATION CAREFULLY! Edit: Changed
    the cPanel documentation link.....
  29. Last Book You Read?
    (192)
    What was the last book you read? me was "Out of Avalon" the book had different stories about Avalon.
    Before, After, During King Arthur's Lifetime....
  30. Read This Before Applying For Hosting!
    HIGHLY IMPORTANT! (56)
    DISCARD THIS PAGE : WE HAVE CREATED A FORM GENERATOR HERE
    http://www.trap17.com/forums/click-here-de...ting-t9222.html READ THE FOLLOWING INSTRUCTIONS
    CAREFULLY BEFORE APPLYING Once you have the necessary Hosting credits ( check at :
    http://www.trap17.com/forums/ ), You can request here by making a new topic and putting in the
    following details. BEFORE ACCEPTING YOUR APPLICATION, WE GO THROUGH YOUR EACH AND EVERY
    POSTS! SEE TO IT THAT YOU HAVE GOOD QUALITY POSTS. BUILDING A GOOD COMMUNITY IS OUR FIRST
    PRIORITY! Its very easy once you get st....

    1. Looking for reading, files, read, replace, insert, data, form

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for reading, files, read, replace, insert, data, form

*MORE FROM TRAP17.COM*
Similar
About Posting Form
Text Size In "fill-in" Form Blanks - How do you change the size of the text in the fill in form entry boxes
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
Design A Contact Form In Flex Part 1
Clearing Your Ie Tif - Clear your Temporary Internet Files on IE
How To Download Any Flv Files From Any Sites
Trap17 Gets Supernatural: Topics Disappear! - We post byt we cannot see it and others cannot read it! Why?
Need Advice On Setting Up Mysql Database. - I have a huge amount of daily data updates to be inserted.
Panasonic Lumix - Problems With Movie Files - troubles managing (renaming, moving, deleting) movie files from the ca
Compatibility/major Question - Please read I WILL BUY If I Get Help
Lan Surfer In Linux - GUI software to view other's shared files
Browse System Files In The Browser...
Perl For Automated Web Form Search
Php Ftp Upload Form - Adding User Directory to PHP Upload Form - Help
Living Everyday Happily And Meaningfully - when you are getting down, please read this and think deeply
Data Structures -- String -- Palindrome - Check if a string is a palindrome...
Data Structures -- Linked List - Find the nth last element in linked list.
How To Disable "show Hidden Files And Folders" In Folder Option
Eclipse Exporting .jar Files - Could not find main class. Program will exit.
What Is A Computer Form Factor
Get 30 Gb Email For Free - let us talk about , email system for huge data !
Eragon - Anyone else read it?
Dvd Drive Problem - It Wont Read Anything!
My Ipod Is Randomly Skipping Songs, Losing Data, - regaining data, and freezing
The New And Very Good Free Host Server - For upload/share files.www.rapidshare.se
Read-only Folders In Xp - Can't change Read-Only attribute in XP
Im Making A Mmorpg >> - Have a read...
Read This At Any Cost Before Posting Here - THE CPANEL DOCUMENTATION
Last Book You Read?
Read This Before Applying For Hosting! - HIGHLY IMPORTANT!
advertisement



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



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE