web form- submit to email

Kalmah

Diamond Member
Oct 2, 2003
3,692
1
76
I was annoyed after I found that my free web server didn't run php scripts.
So I found another one which advertised as being able to run php scripts.

So I signed up, got all my files moved over to find that my form doesn't send to email. The server has 'safe mode' on for php scripts which is blocking certain parts of my script.

So, is there a way to make a web form submit to email without using php or perl?

I appreciate it.
 

Kalmah

Diamond Member
Oct 2, 2003
3,692
1
76
I appreciate it. I guess I should have clarified that that is a way that I don't want to do it though. It opens the client email program when they hit send when you do it this way. Which for my purpose, makes it redundant since I have an email link for a second option on the page anyways.

I keep trying different free servers. All of the ones that say they support php have safe mode on.. which they usually don't tell you in advanced.(except some sites do note it in their faq)

So now I'm trying perl on a linux server and keep getting an internal server error. The server supports SQL but I know nothing about it.

How hard can it be to send form data to a freakin email!
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0
It's easy, but you need PHP or Perl (or something type of server-side scripting) and you need to actually know how to code in whatever server-side language you're using. SQL support has nothing to do with the ability to send e-mails.

Internal server error for a Perl script sometimes means you didn't assign it appropriate permissions.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
How hard can it be to send form data to a freakin email!

Apparently very hard if you aren't willing to pay for hosting :)

The free servers may intentionally be keeping you from doing this to cut down on the spam sent from their server.

mailto = from the user's email program and their mail server
script = from the web server's mail server
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
Originally posted by: DaveSimmons
How hard can it be to send form data to a freakin email!

Apparently very hard if you aren't willing to pay for hosting :)

The free servers may intentionally be keeping you from doing this to cut down on the spam sent from their server.

mailto = from the user's email program and their mail server
script = from the web server's mail server

Having served in the hosting industry 4 years, and still doing it, I can tell you this is the case. It's a huge server performance and security issue to let script kiddies have fun with an open mail server.
 

Kalmah

Diamond Member
Oct 2, 2003
3,692
1
76
I was considering trying to have the form data upload to the server's free sql server.(which is why I brought this up earlier) Is there some kind of step-by-step walk-through for doing something like this? Or is it more difficult than that?

SQL is like the most intimidating thing I've ever seen. lol.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,839
4,820
75
Does this help?

http://www.w3schools.com/PHP/php_mysql_insert.asp

To emulate a database of emails, you mainly need one or two columns with large varchars to store the email body and subject if you include that. Any other fields that people fill in should probably be stored as smaller varchars or other field types.
 

polarbear6

Golden Member
Jul 14, 2008
1,161
1
0
Originally posted by: heymrdj
Originally posted by: DaveSimmons
How hard can it be to send form data to a freakin email!

Apparently very hard if you aren't willing to pay for hosting :)

The free servers may intentionally be keeping you from doing this to cut down on the spam sent from their server.

yup i have been a victim to this
earlier i used to feel that it was something wrong wid my coding skills
but lately i have been realising that its just the hosting guys who r blocking my scripts for the same reasons :))

hell i wish these guys would have had some cash collection methods
so that i can pay for them
cause i dont have credit cards :))

and besides i dont even have a purpose of hosting a site