sime27 Posted January 26, 2003 Share Posted January 26, 2003 hi see noewin back up n running today :D can any tell me the html code needes to creat a text input box with a submit button so that when anyone types text in the box and submits it it would be emailed to an adress of my choice Link to comment Share on other sites More sharing options...
0 Ricky Baby Posted January 26, 2003 Share Posted January 26, 2003 ok most of that is server side - do you have accses to PHP/ASP/PERL on your server? if not your gonna have to get a thirdparty script the html is <form action="email.*" method="post"> <input type="text" size="20" name="messege"> <input type="submit" value="submit" name="submit"> </form> Link to comment Share on other sites More sharing options...
0 Steven Posted January 26, 2003 Share Posted January 26, 2003 ok most of that is server side - do you have accses to PHP/ASP/PERL on your server?if not your gonna have to get a thirdparty script the html is <form action="email.*" method="post"> <input type="text" size="20" name="messege"> <input type="submit" value="submit" name="submit"> </form> Thats all you need to place that info to somewhere else.. where you going to put it? you could write it to a text file, via a small perl script then write a cron script to email it to yourself. Link to comment Share on other sites More sharing options...
0 Ricky Baby Posted January 26, 2003 Share Posted January 26, 2003 yea you thats what i mean u need server side language to actully send the email php is sumot like mail("yourmail@example.com", "teh l337 Subject", "teh message"); Link to comment Share on other sites More sharing options...
0 sukamusiru Posted January 27, 2003 Share Posted January 27, 2003 can't you have the "submit" button add it to a text file on the server instead? :p EDIT - like what xStainDx said but why bother with email? just open it from a browser? Link to comment Share on other sites More sharing options...
0 Ricky Baby Posted January 27, 2003 Share Posted January 27, 2003 yea you could do that - but it would be bothersome ro have to check it all the time - at least with email it pops up in you inbox Link to comment Share on other sites More sharing options...
Question
sime27
hi see noewin back up n running today :D
can any tell me the html code needes to creat a text input box
with a submit button
so that when anyone types text in the box and submits it
it would be emailed to an adress of my choice
Link to comment
Share on other sites
5 answers to this question
Recommended Posts