Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Quick question on 'submit' functions with html (easy question)

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 09-28-05, 12:27 PM Thread Starter   #1
maxxoverclocker
Member

 
maxxoverclocker's Avatar 

Join Date: Jul 2004
Location: Valley Center, CA

 
Quick question on 'submit' functions with html (easy question)


I have never used .asp before (strictly html and even then im more of a flash guy) here's the deal, i went to a website and found this:

Code:
<html>
<body>

<form name="input" action="vctvcode.asp" method="get">

Student ID Number: 
<input name="id" type="text" value="000000" size="10" maxlength="6">
<br>VCTV Code: 
<input type="text" name="vctvcode" value="00000" size="10">
<br>
<input type="submit" value="Submit">

</form> 



</body>
</html>
lol... um yeah i have no idea where to go from here (don't know what i need for the .asp page either) and ANOTHER addition was we want to prevent multiple logins by the same person and from people entering random id numbers to rack up points for their class

Essentially what we want is to have 2 places for text, one is the 6 digit student id number and the other to be the 'vctv code' which they will find on the morning announcements and be able to enter into the website for submission to some sort of file or database so we can find their id number and the vctv code they entered. if anyone could give me some tips/if there's an easier way to do this with dreamweaver/flash tell me. thank you so much

__________________
Intel Core 2 Quad Q9550 @ 3.6Ghz @ 1.32v - Asus Rampage Formula - 4x2048MB G.SKILL DDR2 1066 @ 1060Mhz 2.2v 5-5-5-15 - ATI Radeon 5850 - 2x1.5TB Seagate RAID0 / 2x30GB OCZ Vertex Turbo RAID0 - 650Watt Corsair CMPSU-650TX
maxxoverclocker is offline   QUOTE Thanks
Old 09-28-05, 04:29 PM   #2
kayson
Member

 
kayson's Avatar 

Join Date: Jan 2005
Location: USA

 
I would use php. But thats only because I don't know asp . When you submit the form, you'll send the two variables to vctvcode.asp, which can process them and do whatever is necessary.

__________________
Project Silver
Intel Core i7-980X (145x29 = 4205MHz @1.352V)
Asus P6X58D Premium
Corsair Dominator 3x2GB DDR3-1600 (1740MHz)
Gigabyte AMD HD 6950 (Unlocked @ 880/1375MHz)
Corsair HX850
OCZ Vertex 3 Max IOPS 120GB
Thermalright Venomous X || 2x 120mm Panaflo || Arctic Silver V
Lian-Li PC-A77FA || Vantec Nexus Fan Controller
(Build Journal)
Heatware
kayson is offline   QUOTE Thanks
Old 09-28-05, 05:10 PM Thread Starter   #3
maxxoverclocker
Member

 
maxxoverclocker's Avatar 

Join Date: Jul 2004
Location: Valley Center, CA

 
Quote:
Originally Posted by kayson
I would use php. But thats only because I don't know asp . When you submit the form, you'll send the two variables to vctvcode.asp, which can process them and do whatever is necessary.
hehe and how would i go about using php? (never used anything other than htm) thx

__________________
Intel Core 2 Quad Q9550 @ 3.6Ghz @ 1.32v - Asus Rampage Formula - 4x2048MB G.SKILL DDR2 1066 @ 1060Mhz 2.2v 5-5-5-15 - ATI Radeon 5850 - 2x1.5TB Seagate RAID0 / 2x30GB OCZ Vertex Turbo RAID0 - 650Watt Corsair CMPSU-650TX
maxxoverclocker is offline   QUOTE Thanks
Old 09-28-05, 05:15 PM   #4
kayson
Member

 
kayson's Avatar 

Join Date: Jan 2005
Location: USA

 
Well first of all your server needs to have php installed on it. Then you make a .php file with the code in it. Basically, a .php file is html, but you can use <?php code ?> to add some php code. Here's an example:
Code:
<html>
<head>
</head

<body>
<?php
echo "Hello world";
?>
</body>
</html>
the echo command prints html to the browser. So you could also echo "<img src='....'>". Then you have to have mysql installed (which is database software) and learn how to work with that. You can then use if/then statements and db queries to verify passwords and redirect to places. I would recommend picking up a book if you want to learn php and mysql.

__________________
Project Silver
Intel Core i7-980X (145x29 = 4205MHz @1.352V)
Asus P6X58D Premium
Corsair Dominator 3x2GB DDR3-1600 (1740MHz)
Gigabyte AMD HD 6950 (Unlocked @ 880/1375MHz)
Corsair HX850
OCZ Vertex 3 Max IOPS 120GB
Thermalright Venomous X || 2x 120mm Panaflo || Arctic Silver V
Lian-Li PC-A77FA || Vantec Nexus Fan Controller
(Build Journal)
Heatware
kayson is offline   QUOTE Thanks
Old 09-28-05, 05:53 PM Thread Starter   #5
maxxoverclocker
Member

 
maxxoverclocker's Avatar 

Join Date: Jul 2004
Location: Valley Center, CA

 
alright thanks

__________________
Intel Core 2 Quad Q9550 @ 3.6Ghz @ 1.32v - Asus Rampage Formula - 4x2048MB G.SKILL DDR2 1066 @ 1060Mhz 2.2v 5-5-5-15 - ATI Radeon 5850 - 2x1.5TB Seagate RAID0 / 2x30GB OCZ Vertex Turbo RAID0 - 650Watt Corsair CMPSU-650TX
maxxoverclocker is offline   QUOTE Thanks
Old 10-10-05, 12:33 PM Thread Starter   #6
maxxoverclocker
Member

 
maxxoverclocker's Avatar 

Join Date: Jul 2004
Location: Valley Center, CA

 
gah im still stuck here you guys, i need to get this done soon and i don't have the time to learn a new scripting language lol, so far what i have is a flash animation with a password set (vctv code) and if they type in the right one it'll take em to a portion of the animation that is only able to be seen after a password is typed in, so now i ask you; is there an easy way to automate something to send 2 fields that the user will type in into some sort of an email or text file that can be saved on the server. thanks for your help, and sorry if im still confusuing lol

__________________
Intel Core 2 Quad Q9550 @ 3.6Ghz @ 1.32v - Asus Rampage Formula - 4x2048MB G.SKILL DDR2 1066 @ 1060Mhz 2.2v 5-5-5-15 - ATI Radeon 5850 - 2x1.5TB Seagate RAID0 / 2x30GB OCZ Vertex Turbo RAID0 - 650Watt Corsair CMPSU-650TX
maxxoverclocker is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 10:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?