Log in

View Full Version : Form That adds stuff to a file



Rockonmetal
02-22-2007, 01:45 AM
Ok here is the deal

I don't got no server
I don't want 2 buy one either
I just want to (for my self) use a simple little form inorder to add stuff into a txt file, xml file, or anyother file.
WHAT IT MUST HAVE!!
the ability to edit and save on that file.
I don't have to edit the file myself in order to do this.
Thats all
here is the code of the form.


<html>
<body>
<form action="file edited goes here right??" method="post">
<br>Video Name: <input type="textfield" name="VideoName">
<br>Video Date: <input type="textfield" name="VideoDate">
<br>Video Supplier: <input type="textfield" name="Username">
<br>Video Type: <input type="textfield" name="Videotype">
<br><input type="button" value="Submit">


</form>
</body>
</html>

benslayton
02-22-2007, 04:27 AM
First of all, If you dont want to buy a server. tou could do these two things.
1)Setup your PC at home as a server so you can run php scripts. php.net (http://www.php.net/downloads.php)
2)Use visual basic (http://msdn.microsoft.com/vbasic/)

#1 is free, #2 will cost money unless someone makes the program for you in vb which isnt hard.

If you take #1 look into this:http://www.dynamicdrive.com/forums/showthread.php?t=8786&highlight=php+comments Skip down to post #3 thats where the code you need is.

If you take #2 I think I have a vb script that we use for our site at school if you want that.

But the easiest way is prob php. or you could you something like awardspace.com instead of a installing php on your pc.

Hope that all makes sense. Ask questions if your lost.:]