Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-20-2002, 03:24 AM   #1
Member (6 bit)
 
Join Date: Mar 2000
Posts: 48
Send a message via ICQ to sc0rched
script to process form and insert into web page

I want to have a sign up form that users can fill out that would output to a html table on my site. I need a script that will process the form and enter the data into a template of some sort that I can edit. Anybody know any free scripts that will do this or how I can make one myself? The purpose is to have a page where users can see a list of all the users that have signed up.

Last edited by sc0rched; 02-20-2002 at 03:29 AM.
sc0rched is offline   Reply With Quote
Old 02-20-2002, 06:26 AM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
You can't really output the data from a form to an HTML table. You can output the data to a flat file (text), a database or email. Once it is exported to one of these three, you could put it in a editable HTML table.

It depends upon who is hosting your site as to how you go about this. If your host supports PHP/MySQL then you can put the information into a database. Check over at Hotscripts.com, for available scripts.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 02-20-2002, 03:03 PM   #3
Member (6 bit)
 
Join Date: Mar 2000
Posts: 48
Send a message via ICQ to sc0rched
ok so I will need 2 separate scripts do do this then right? I have MySQL and perl installed already on my web server. I would assume there are some scripts written in perl to do these tasks or would I have to install php?
sc0rched is offline   Reply With Quote
Old 02-20-2002, 08:14 PM   #4
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by sc0rched
ok so I will need 2 separate scripts do do this then right? I have MySQL and perl installed already on my web server. I would assume there are some scripts written in perl to do these tasks or would I have to install php?
You would one script that contains the form. Then you would need an admin type script to edit what you wanted to edit. If your host has Perl/MySQL installed then they most likely have PHP also. You can either ask them or use this little script:
PHP Code:
<html>
<head>
<title>PHP Info</title>
</head>
<body>
<?php
phpinfo
();
?>
</body>
</html>
Cut the code and paste it into a text file, save the file as php.php. Then upload the file to your site and see what happens when you try displaying the page. If you see a screen that has PHP Version ... , then PHP is installed.
mairving is offline   Reply With Quote
Old 02-20-2002, 10:42 PM   #5
Member (6 bit)
 
Join Date: Mar 2000
Posts: 48
Send a message via ICQ to sc0rched
well thanks for all your help but i have found a small script that creates a flat db and i edited it to have a add record page and then a list all records page. i know its not very secure but it suits my needs for now.
sc0rched is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:05 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2