pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Hey all
Imdesigning an Intranet, and want to place an ICT helpdesk on there for no urgent requests.
I want to use a form to allow people to submit their requests, but I want to know where the data will go when you hit the "submit" button.
Im fairly good with HTML, so say if I wanted to have a form that when submitted, creates a new text file with the submitted detail, can you dot hat?
THanks
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
You need PHP/ASP or similar to grab the data and put it into a help text file or database.
Can't be done without some form of server side scripting
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Pish.
Any ideas on howto do this then?
|
Leighton
Member
Registered: 21st Feb 01
Location: Liverpool
User status: Offline
|
just submit the form to a email address
then its in txt and ready to reply to
job done
|
drax
Member
Registered: 5th Feb 05
Location: Sittingbourne, Kent
User status: Offline
|
Yeah I was going to suggest, easier to submit to an email address
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
How do I do that, it wants to send it fro your email account, but I want it just to submit via the web form!
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
yes use a php page as that the form of the html page actions on.
then grab the info into a variable ie if you submitted text in a textbox called 'info' in the php put
$info = htmlentities($_REQUEST['info']);
as for making a text file its possible i dont know the commands off the top of my head but a quick search would do it
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Uhh ooo - PHP, is it easy?
Thanks Steve.
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
yes, if you play about with it a bit youl understand it
|
Neo
Member
Registered: 20th Feb 07
Location: Essex
User status: Offline
|
http://www.liberum.org/ ftw
that is all
|
Ash_EP3
Member
Registered: 15th May 07
Location: Melksham, Wiltshire
User status: Offline
|
PHP and ASP isn't that bad @ all mate... its useful when organising a site I s'pose & plus yeh you will need CSS (Cascading Style Sheet) of some sort to help as well
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Mike, I love you
xxx
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Its easy but I would personally write stuff to a MySQL database rather than a text file.
Not all that much more difficult, easier to read it, report on the data etc. and a bit more robust.
You got PHP/MySQL hosting?
|
Neo
Member
Registered: 20th Feb 07
Location: Essex
User status: Offline
|
quote: Originally posted by pow
Mike, I love you
xxx
aww thanks
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
what has css got to do with passing post variables to other pages
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
quote: Originally posted by Steve
what has css got to do with passing post variables to other pages
was thinking this tbh.
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
If you want to do it in PHP, and maybe use MySQL there is enough information on the internet for you to figure it out. It's all Open Source so just give it a search in Google. I tought myself how to do it
|