home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Graphic Design and Digital Photography
Ask a Tech Support Question (free)!

Code needed Urgently

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1624
Discussions: 200,925, Posts: 2,379,126, Members: 246,291
Old January 5th, 2009, 06:49 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 4
Question
Code needed Urgently

Hi,
I would like to know as to how a cotact us page in a website is developed and executed in a home PC.The page contains Name, Address, From email and a message Options and a Submit button.so once any user clicks this Submit button the mail should go to the concerned Mail ID.
I want the full code as to how this can be done.Where do we write the From and To Email ID's in the Html code.Plz help its important............

[FONT='Arial','sans-serif']Your Name[/font]

[FONT='Arial','sans-serif']E-Mail[/font]

[FONT='Arial','sans-serif']Company[/font]

[FONT='Arial','sans-serif']Address[/font]

[FONT='Arial','sans-serif']City[/font]
[FONT='Times New Roman','serif']Pin [/font]
[FONT='Arial','sans-serif']Country[/font]

[FONT='Arial','sans-serif']Message [/font]



<inputTYPE="submit"value="Submit">
How do i test this in my home pc. hOW DO I DO THE EMAIL SETTINGS once submit button is clicked.Plz reply its Urgent...........
feelgood is offline   Reply With Quote
Old January 5th, 2009, 12:55 PM     #2 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 10
There are loads of free scripts around on loads of free scriptsites.
Just copy/paste one.
If you need to run it on your own pc, you best install a WAMP server :URL here.
Then you can develop your sites at home, and execute them at home.
Some interesting sites to look out for are:
Good Tutorials
Hotscripts (not always free)
PhpFreakz (Dutch site, But with a ton of info, use babblefish or something)


Goodluck
fraksken is offline   Reply With Quote
Old January 5th, 2009, 11:11 PM     #3 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 4
Thank u fraksken for your advice,but i need this code to run in a html page i hav IIS in my system will it run there, am using visual studio for developin the site.plz tell me the code for this to be tested in my PC.
feelgood is offline   Reply With Quote
Old January 7th, 2009, 11:28 AM     #4 (permalink)
Member
 
theGlitch's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 183
Blog Entries: 1
Send a message via AIM to theGlitch
here is an example:

UMassD Online Directory - University of Massachusetts Dartmouth

just view the source and copy what you want
theGlitch is offline   Reply With Quote
Old January 10th, 2009, 01:45 PM     #5 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 4
Question
Thanx

Thank u for all the help..... but i hav few more doubts,i would appreciate if some1 could really help me out

--->i have a contacts.htm html page having a form which has follwing fields
Your Name,E-Mail ,Company ,Address ,Subject ,Message
---> i need to send a smtp mail so i create another contacts.aspx page and this is refered by the contacts.htm page

Code in contacts.htm

<formid="form1"action="contacts.aspx"method="post"runat="server">

--->i dont know where this code in contacts.aspx page to be put i.e
in code behind or in UI page.

mymail.To="";
// mymail.From="";
// mymail.Subject="The Famous";
// mymail.Body="Hello World";
// SmtpMail.SmtpServer="localhost";
// SmtpMail.Send(mymail)

i dont want this aspx page to be seen by user it must just execute the code once Submit button in contacts.htm page is clicked.

i dont know how to do this i.e link .aspx and .htm page wat is the code am missing ????

--->Please tell me how to hide this aspx page from the end users.

I am new in asp.net ,any help would be great. hope i hav put the query properly....


Thanx in advance

feelgood is offline   Reply With Quote
Old January 10th, 2009, 08:01 PM     #6 (permalink)
Member
 
theGlitch's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 183
Blog Entries: 1
Send a message via AIM to theGlitch
sorry i'm not familiar with asp.net... So i will give you purely a guess... Please by no means feel that this is coming from someone who knows what they're talking about.

I would take an approach similar to a javascript/php combination. Do an on click event; where when the user clicks submit the stuff in the text boxes is sent to a processing script in a different file. I did this with a php application and it worked real well. I actually put the processing code at the start of the form. Such that if my information array was populated it would run the processing script, and if not it would just present the page regularly
theGlitch is offline   Reply With Quote
Old January 11th, 2009, 10:12 AM     #7 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 4
could you plz tell me how do i specify the path of the file having script to be executed in the onclick event in htm page.

pLz give me a code format....

Thank you.
feelgood is offline   Reply With Quote
Old January 11th, 2009, 08:29 PM     #8 (permalink)
Member
 
theGlitch's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 183
Blog Entries: 1
Send a message via AIM to theGlitch
i'm sorry i will guide you but i will not do your project for you... use google... i searched for: onclick() run script

this gave me the answer you'll need
theGlitch is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
advice NEEDED urgently please! neo7333 Motherboards 7 November 27th, 2007 11:32 AM
Home Improvement Help Needed Urgently ClubMed IMO Community 23 December 21st, 2005 05:49 AM
Logo Design needed urgently sminklogo Graphic Design and Digital Photography 50 June 29th, 2002 02:44 AM
LOGO DESIGN NEEDED URGENTLY! egoobe Graphic Design and Digital Photography 40 April 10th, 2002 06:19 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2865)
Obama the Muslim (14)
Is the PSU I received dead? (10)
windows vista security holes (9)
Foreign voltage (10)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (10)
Print spooler problem (13)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
World's largest Monopoly Game using.. (331)
Recent Discussions
Have you switched yet? (84)
Install XP pro and a Vista laptop ?? (10)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
Fire in DVD (0)
radeon x850xt platinum & shader 3 (2)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Problem with speed step/turbo boost? (1)
Modern Warfare 2: Who Bought It? (61)
SIS 740 and Widescreen (8)


All times are GMT -4. The time now is 12:38 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28