form/ php?

mattiasb

New Member
hello, I'd just like to know if there's a way of constructing simple forms which a customer fills in and then are sent to an email, without php?
what I've read this far you need php for all forms, or am I wrong?
Is there anyone who knows, I'll be very happy for an answer!
I just need a simple form to be sent to an email.
 

Matthew

New Member
I'm not really sure, but I don't think there is any easy way to do it without PHP. Why don't you want to use PHP?
 

jnjc

New Member
If it's just a "Contact Us" page, I think there are site that will provide the server for you and you just put a piece of HTML that they supply on you page and it handles the rest. There was a thread sometime ago about it but I can't remember the actual site name.

If it's more complex then that then you will need some form of server side script to do this.

HTH,
JC
 

mattiasb

New Member
I think they host php and cgi, am on my way to investigate..
do you know how this cgi works? Have no idea what to do with the scripts I downloaded, and can't find a how-to-do either..
/ Mattias
 

Matthew

New Member
I think they host php and cgi, am on my way to investigate..
do you know how this cgi works? Have no idea what to do with the scripts I downloaded, and can't find a how-to-do either..
/ Mattias

Using PHP, you can do this: http://www.phpeasystep.com/phptu/8.html

It is very simple to understand, contact form. Read and create that and test it out etc. Where you looking for a contact form, or something more detailed?

M.
 

mattiasb

New Member
Thanx for the link,
they need a form where people can say what kind of information they want, and maybe a scroll-list, in the first stage.
I probably have to upload the formfile on the server and try it to see if it works, right?
/ Mattias
 

Matthew

New Member
Once you have created both of the files you then need to upload them both. Then you point your browser to www.yourwebsite.com/contact.php Or where ever you uploaded both of the files.

So does your host have PHP. Can you tell us who your host is, if your not sure?

Thanks,
M.
 

mattiasb

New Member
Hi, you say the 2 files? which is the second? :)
the host is 1and1.co.uk, and the account is upgraded to cgi and php
 

mattiasb

New Member
yes the domain was just upgraded to php and cgi.
ok, I don't think I've seen that 2 php-scripts are needed before..
 

LouTheDesigner

New Member
this is strange. I just tried using it, and I get the confirmation that the e-mail has been received (the echo), but I haven't yet received the e-mail. It's been about 10 minutes. I double checked and the e-mail is correct and in the correct position.
 

Matthew

New Member
I have never actually used that one before, it is just a good example. There are many others on the internet.

I will try that one now, and give you a link to it, to see if it works or me.
M.
 

LouTheDesigner

New Member
Okay. After an hour of testing with no results, I thought it might be that the mail() function doesn't work with gmail or yahoo mail; and I was right.
 

Matthew

New Member
Ok from here. I have created a contact form, which is working nicely.

The one which I put on my website can be found here.. I have changed a few of the things like the drop down menu to make is slightly related to what you want it for.

So to show you, if I fill in the form like this:

http://img105.imageshack.us/img105/26/formmk9.jpg

After it has been submitted I recieve an email straight away and it looks like:

http://img70.imageshack.us/img70/2214/contactformwf2.jpg

It is basic but it works nicely.

You can easily edit how things are formatted and what options you can have when people are using the forum, like the drop down menu for example.

If you want I can customize one for you to exactly suite your needs, just give me a yell. Of course this can also be put into existing pages.

Cheers,
M.
 

mattiasb

New Member
Hi, thanx a lot for your answer. Though I wonder where I will put the recipient email adress?? I can't find it in the code.
Or is this where that second file comes in?? :)


/ Mattias
 

Matthew

New Member
Hi, thanx a lot for your answer. Though I wonder where I will put the recipient email adress?? I can't find it in the code.
Or is this where that second file comes in?? :)


/ Mattias

Look, if you want me to I can do it for you, just give me your email and then we can try it out.

I'm not sure if it will work with hotmail, or other free emails. Currently it is working with my [email protected].

M.
 
Top