Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 4th, 2008, 05:15 AM
Newbie
 
Join Date: Sep 2008
Posts: 2
Default Using online forms to create XML files

Hey there,

Can someone please help me?

I have a web page which has a form that asks the following:

Please enter Machine Number:_________________________
Please enter date to action:________________________
Please enter your name:___________________________
Please enter your contact number:____________________________
{Submit}

How can I collect the data that they have entered, and convert it into an XML file, which will be stored on a folder in my server and emailed to me?

Any code you can offer would be great!

Thanks in advance
Alanimal
Reply
  #2  
Old September 4th, 2008, 07:31 AM
Dormilich's Avatar
Expert
 
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
Default

Quote:
Originally Posted by alanimal
How can I collect the data that they have entered, and convert it into an XML file, which will be stored on a folder in my server and emailed to me?
usually, the data collection is done by the browser (don't forget to set the name attributes) and sent to the server script mentioned in the action attribute in <form>.
How you proceed with those data depends on which server side script you are using (php, asp, perl, ...) for those languages have different syntaxes for accessing the sent values.
then you can serialize the values into xml with either wddx or hardcode it and save to a file.

regards
Reply
  #3  
Old September 5th, 2008, 02:43 AM
Newbie
 
Join Date: Sep 2008
Posts: 2
Default

Quote:
Originally Posted by Dormilich
usually, the data collection is done by the browser (don't forget to set the name attributes) and sent to the server script mentioned in the action attribute in <form>.
How you proceed with those data depends on which server side script you are using (php, asp, perl, ...) for those languages have different syntaxes for accessing the sent values.
then you can serialize the values into xml with either wddx or hardcode it and save to a file.

regards
Hi I was thinking about using asp - any ideas? have you come accross any online demos/samples on this topic?
Reply
  #4  
Old September 5th, 2008, 07:26 AM
Dormilich's Avatar
Expert
 
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
Default

Quote:
Originally Posted by alanimal
Hi I was thinking about using asp - any ideas? have you come accross any online demos/samples on this topic?
Unfortunately I can't help you with asp (I'm doing only php), but you can search google about this topic (or post a question in the asp forum).

regards
Reply
Reply

Bookmarks


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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles