HTML form
#1
Posted 30 April 2004 - 11:42 AM
Thanks!
~Jenn
"To live a creative life, we must lose our fear of being wrong" - Joseph Chilton Pearce
My website: jennlindsey.com
Please review the new rules for DesignContest.net here
#3
Posted 30 April 2004 - 01:27 PM
What do you use for sending the mail? CGI or PHP? Can you explain, maybe I can help you somehow.
I used CGI - I haven't learned PHP yet. I created the form in Dreamweaver. It's for my personal website found here: Graphics Cache
I'm not sure what else I can tell you about it, but you can view the source code from the link i've provided. Thanks!
"To live a creative life, we must lose our fear of being wrong" - Joseph Chilton Pearce
My website: jennlindsey.com
Please review the new rules for DesignContest.net here
#4
Posted 30 April 2004 - 02:19 PM
Hi Jenn,I used CGI - I haven't learned PHP yet. I created the form in Dreamweaver. It's for my personal website found here: Graphics Cache
I'm not sure what else I can tell you about it, but you can view the source code from the link i've provided. Thanks!
I'm no expert on forms, but one thing I wondered when looking at your source code is why you have all the style information embedded into your code? Right now, it makes your code incredibly difficult to read.
I never found (although it may be there somewhere) any information to send the form to your cgi bin, which is where you would want to send a cgi form.
I'm no "expert" at xhtml or css either, but I think you would be better off either putting it into your head information or into the style sheet link you already have.
Just my two cents.
Linda
#5
Posted 30 April 2004 - 03:11 PM
I looked into your code, and, from what I saw, you don't use cgi. You just use the mailto function which is HTML, that's why your form moves slowly.
If you would use cgi, your action line had to be the path to your cgi script which sends the form to sendmail.cgi file from the server.
So the reason for working slow is the action you used.
If you are sure that your server has cgi, you can find some documentation about cgi forms and the way to create them here:
http://www.ruxique.g...msitemail_a.zip
You'll find everything you need for building a cgi form.
Good luck,
Rux
#6
Posted 30 April 2004 - 03:36 PM
Hi again,
I looked into your code, and, from what I saw, you don't use cgi. You just use the mailto function which is HTML, that's why your form moves slowly.
If you would use cgi, your action line had to be the path to your cgi script which sends the form to sendmail.cgi file from the server.
So the reason for working slow is the action you used.
If you are sure that your server has cgi, you can find some documentation about cgi forms and the way to create them here:
http://www.ruxique.g...msitemail_a.zip
You'll find everything you need for building a cgi form.
Good luck,
Rux
Thanks Rux & Shyflower!
As you can see, I don't completely know what i'm doing I'll check out the cgi bin documentation, as I know that I have a cgi bin on my server.
As far as the code, I know that I need to clean it up. I'm still learning how to use CSS as well, and I know that would clean up the code alot, just haven't fully implemented it yet.
Thanks again
~Jenn
"To live a creative life, we must lose our fear of being wrong" - Joseph Chilton Pearce
My website: jennlindsey.com
Please review the new rules for DesignContest.net here
#8
Posted 30 April 2004 - 03:59 PM
On a side note. As I was being nosey in your coding of your site. I was just wondering how come you don't have the body info in your CSS too? That way it would all carry over to your diff, pages by only linking to that CSS.
<body bgcolor="#FFFFFF" text="333333" link="#33CC00" vlink="#333333" alink="#99ff66">
body {
background:#ffffff;
color:#333333;
font-size:10px;
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
font-family: Arial, Helvetica, sans-serif;
}
A:link {color: #33CC00; text-decoration: none;}
A:visited {color: #333333; text-decoration: none;}
A:hover {color: #99ff66; text-decoration: underline;}
Now you can get rid off all that stuff in the <body> tag and just link to the CSS and all will be nice and uniform.
Anyway, that's off topic. As long as you switch from the mailto to either PHP or CGI everything will work fine.
www.beyondthepixel.com - a multimedia affair
··························································
Simplicity is the ultimate sophistication.
-Leonardo da Vinci
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users