...

View Full Version : Making my page respond to submit forms?



jkhalbe
10-17-2004, 09:24 PM
Ok, i havent started this yet, but there is something i would liek to do and just need some basic ideas. My idea is to just post comments on pictures and display them on the webpage. I dont know how to go about it exactly, but i am thinking of some sort of form. I dont know if something like this involves javascript, and if it does, then i should redirect this question to that thread.

This is how i want the page to respond. There is a daily picture on the page and at the bottom of the picture, there is a comment form. The idea is to type in the comment, submit it, and then the webpage displays the comment underneath the picture. And i want it to be able to comment as many times as possible, always displaying the comments underneath the picture.

How would i go about this? Your help is appreciated

~Jeff

Antoniohawk
10-17-2004, 10:37 PM
You need to use a serverside language, such as php to accomplish this. You could probably find a script for this somewhere on the net. Check http://www.hotscripts.com/ and especially http://www.google.com.

jkhalbe
10-18-2004, 03:44 PM
now do i have to download php software and install it to the server or just download the script and install it? utterly confused

Antoniohawk
10-18-2004, 10:20 PM
If you don't own the server, I don't think that you can install php on it. You will have to check with the company, but they might already support it. Otherwise, you'll have to find a new host or use a server-side language that they do support, if others are available.

codejunkie
10-20-2004, 04:39 PM
I think the easiest thing to do would be to post the picture on the top and just have an input form on the bottom. The picture(s) would be totally seperate of the form, that way you don't need to involve it with the PHP.

What you can do is look up guestbooks and post that as the input form and just have the picture at the top. Essentially thats all youre trying to do anyways, so...

I'll give a link later. I can't get to it because of the filter on this computer, so check back later.

Rob

AaronW
10-20-2004, 04:46 PM
Safe bet your host supports Perl though. Even free hosts tend to support Perl. Check out hotscripts.com for something like this written in Perl, maybe?

WA
10-20-2004, 10:36 PM
Also see here for some good CGI based form submission scripts: http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Form_Processing/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum