Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,383 Programmers. There are 1,379 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

Sign in page

 
Reply to this topicStart new topic

Sign in page, made in Kompozer

nsh22
post 25 Apr, 2008 - 12:43 PM
Post #1


New D.I.C Head

*
Joined: 23 Apr, 2008
Posts: 3



OK, im new at this site and at programming, but I downloaded a WYSIWYG html editor called Kompozer. I made a sign in page, but i want to be able to add it to my site (it has MySQL database) if anybody can help me that would be great

this is the code for the sign in page:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!--CTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt-->
  <meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
</head>
<body>
User Name:<input name="User Name"><br>
Password:<input minlength="5" name="Confirm"
type="password"><br>
Confirm Password:<input minlength="5" name="Confirm"
type="password"><br>
Email: <input name="Email"><br>
<br>
<div style="text-align: left;"><a
href="http://www.myhosting247.com/FCKeditor/editor/"
target="memberlog.html" rel="me"><input onclick="1"
name="Submit" value="Submit" type="submit"></a>
</div>
</body>
</html>

yes I realize it is most likely completely wrong.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


girasquid
post 25 Apr, 2008 - 02:19 PM
Post #2


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 953

While you can add that page to your site right now, it won't actually do anything.

Why? Because you don't have any server side code written to interact with the values sent by your form and create the users. You'd do well to learn some sort of server-side language like Perl, PHP, or ASP.Net and then build your registration page using that.

Most people will recommend that you learn PHP - if you google for "php registration page" you should find a tutorial fairly quickly.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

mocker
post 25 Apr, 2008 - 02:24 PM
Post #3


D.I.C Head

**
Joined: 14 Oct, 2007
Posts: 73

If you want your page to interact with your MySQL database, you have to choose a programming language. HTML is not a programming language, it is just a description. The description stays the same unless you have something else changing it.

The most common and probably easiest would be to use PHP, since you can put it right in with the html, and just rename your file to whatever.php to get it to run.
http://www.tizag.com/phpT/ has some good introductory tutorials, including accessing the database

edit: yea what girasquid said

This post has been edited by mocker: 25 Apr, 2008 - 02:25 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

nsh22
post 25 Apr, 2008 - 04:58 PM
Post #4


New D.I.C Head

*
Joined: 23 Apr, 2008
Posts: 3

ok, thanks! but what kind of stuff would i have to write to make it work on a site? if you could give examples, that would be great
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 03:50AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month