This is a discussion on "help with order for needed" within the Web Page Design section. This forum, and the thread "help with order for needed are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
help with order for needed
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
help with order for needed
yo peeps
im trying to make an order form for my sisters site and iv got what i need BUT! wen you click on submit it opens up outlook and i need to to just send it strait to my email adress.. HELP ME PLEASE !
Last edited by bruno89; Sep 20th, 2006 at 16:22. Reason: to much code to sort though :) |
|
|
|
#2
|
|||
|
|||
|
Re: help with order for needed
It's doing exactly what you are telling it to do in the 'action' attribute.
You cannot send the form contents directly to an email address without using some form of server-side scripting. |
|
#3
|
|||
|
|||
|
Re: help with order for needed
As Geoff says, the mailto instruction will send an e-mail using the default e-mail client.
What you want it to do is send a mail via the site itself. To do that you need to have a script running on your hosts server giving further instructions as to where to store the message and how, and where, to send it. It'd likely you will also need to have some infrastructure involving a separate file to deal with messages. You'd be best asking in the PHP forum, or looking in hotscripts, to see if you can find something free. |
|
#4
|
|||
|
|||
|
Re: help with order for needed
Yeah I would say PHP is the way to go. I have a PHP script that I built a while back. If you wanted you could use it. But it is a pain to set up, on a free hosting account. Because you have to give like true URL's and such. Where are you hosting this website at?
|
|
#5
|
|||
|
|||
|
Re: help with order for needed
a PHP mailer is fairly simple. I will post one here tonight.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#6
|
|||
|
|||
|
Re: help with order for needed
Quote:
freewebs YES I NO ITS C*** every 1 has told me i no i no lol but ye if the offers open ill take it and moojoo thanks mate |
|
#7
|
||||
|
||||
|
Re: help with order for needed
Yeah... find a nice cheap host. They're probably faster and will be much nicer to work with. I second using PHP.
If freewebs doesn't support PHP, you could always try to find a remote PHP mailing script. Then, in the action attribute, you'd put something like: action="http://phpscripts.com/remote-mail.php" I had a very quick look around, but I didn't find anything like that. |
|
#8
|
|||
|
|||
|
Re: help with order for needed
Quote:
|
|
#9
|
||||
|
||||
|
Re: help with order for needed
Godaddy is... I get all my domains through them. I don't know about namecheap though.
|
|
#10
|
|||
|
|||
|
Re: help with order for needed
ok thank you
|
|
#11
|
|||
|
|||
|
Re: help with order for needed
Very few free hosts are good, some are excellent but they are very selective on who they take.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#12
|
|||
|
|||
|
Re: help with order for needed
PHP Mail Script in its simplicity that I wrote a while ago, I am sure they could be improved:
Basic Mail Script:
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#13
|
|||
|
|||
|
Re: help with order for needed
so do i just put that on the page iv got the form on and keep the for iv made?
|
|
#14
|
|||
|
|||
|
Re: help with order for needed
The action on your contact page whatever should point to the PHP mail script. The variables have to have the same name as the form elements to pass the data.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#15
|
|||
|
|||
|
Re: help with order for needed
that went in 1 ear and out the other :S IM CONFUSED lol
|
|
#16
|
|||
|
|||
|
Re: help with order for needed
Ok the action in to form needs to go to www.yourdomain.com/phpmailscript.php so say you have a contact form with
name message variables could be say $name, $email, $message using hidden fields you can store the information and transfer it to th next page etc..
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#17
|
|||
|
|||
|
Re: help with order for needed
Quote:
|
|
#18
|
|||
|
|||
|
Re: help with order for needed
ok rooky **** up freewebs dosn't even accept php so now i gota look for a free host that does ( becouse im tight like that + im skint ) so ye anyone know any lol if not dont worry im sure ill find somthing out there in the big old cyber world
|
|
#19
|
|||
|
|||