Thread: Comment Boxes
Results 1 to 12 of 12
Related
-
Need Help with Comment Box. Forum: HTML Forum
Replies: 4 -
Comment Section information Forum: Myspace Forum
Replies: 0 -
Scrolling comment box Forum: Myspace Forum
Replies: 1 -
image comment enlargement Forum: Myspace Forum
Replies: 5 -
Please comment on my site Forum: Show it off!
Replies: 0
-
10-17-2005, 07:57 PM #1
Comment Boxes
How hard is it to add comment boxes at the bottom of an html page, such as (for example) the comment area at the bottom of the stories from the site www.thephatphree.com ? Is it just like designing a guestbook? Anyone have any easy code?
-
10-17-2005, 08:21 PM #2
Re: Comment Boxes
well, you have to use a scripting language like php, asp, perl, python, coldfusion, asp.net, exc...
the html they use is:
HTML Code:<table cellSpacing="0" cellPadding="0" width="400" border="0"> <tr> <td class="sectionName" colSpan="2"> <div align="center"> POST A COMMENT</div> </td> </tr> <tr> <td class="copy" colSpan="2"><em>All Fields are required.</em></td> </tr> <tr> <td class="sectionName">name: </td> <td><input name="CommentName"></td> </tr> <tr> <td class="sectionName">email: </td> <td><input name="CommentEmail"></td> </tr> <tr> <td class="sectionName">TITLE:</td> <td><input name="CommentTitle"></td> </tr> <tr> <td class="sectionName" vAlign="top">Comment: </td> <td><textarea name="CommentComment" rows="10" cols="75"></textarea></td> </tr> <tr> <td> </td> <td><input type="hidden" value="1576" name="CommentStoryID"> <input type="hidden" value="1576" name="StoryID"> <input type="hidden" value="11" name="SectionID"> <input type="hidden" value="2005" name="StoryYear"> <input type="hidden" value="10" name="StoryMonth"> <input type="hidden" value="1" name="IsPostBack"> <input class="submit" type="submit" value="Add Comment" name="Submit"><input class="submit" type="reset" value="Reset Form" name="Reset"><p> </td> </tr> </table>
-
10-23-2005, 06:47 PM #3
Re: Comment Boxes
Great, I'll toy around with it for a while, thanks for the help!
-
10-25-2005, 07:42 PM #4
Re: Comment Boxes
I have the form all set up, but now I have come across another problem. I guess I have to have form method ="post" and my action="www.cwp.com/comment.cgi
Basically I don't know anything about .cgi
I know it works in unison with htm/html, but i'm not sure what to do. Do I make a new page and save it as a .cgi or do I have to put an editable region on my page?
I'm really not sure how .cgi files work and are set up. Any help on this subject would be golden.
Thanks.
-
10-25-2005, 07:51 PM #5
Re: Comment Boxes
coming from somone who prefers working with perl (aka: cgi)...
they are pretty simple to setup. first, upload the file as .pl or .cgi then...
in ftp set the file permissions to "execute" on all of them, (the chmod is: 755, or 777 [use 755 if it works, before using 777]).
then try running it.
if the server keeps coming up with an error try:
open the file...
the first line has something like: #!usr/bin/perl or #!usr/bin/local/perl
swap them around so if the one with the local is there change it to the other one.
if still dont work, pm it to me
-
10-27-2005, 01:40 AM #6
Re: Comment Boxes
wow man, I'm having a tough time... I think I just keep getting confused about everything. Lets say I have a page that i wrote with dreamweaver, and the page is in html and I want to put the perl script at the bottom of it (ie the comment boxes). I've cut and paste the code you wrote a few posts above
into the bottom of the page.
So I figure so far so good, but now I am getting super confused. I guess the first part I am confused apart is the "send" function. I have checked out some other people's code and found that their send method is something as follows:
Code:<form method="post" action="http://www.cwhyteforpresident.com/comments.cgi" name="comments_form" >
.
Don't I have to do something with the cgi_bin?
Sorry, I'm just really having a hard time with this.
-
10-27-2005, 09:03 AM #7
Re: Comment Boxes
since you are new to this whole website stuff, if i were you, i would use php rather than perl! php is much eassier to setup, and to run; perl on the other hand is hard to setup and maintain.
the differences are: php is userfriendly, perl (i have heard) runns a little faster, and perl (i have heard) can do more (spacifically to the system).
if you want a comment box, i they are simple to make.
and yes, they do use the <form> method, (i must not have copied it or something:
Code:<form name=frmComments action=features.asp method=post onSubmit='return comments_validate();'>
if you are still having trubble, just ask, and i'll see about helping, or making you one.
-ALL
-
12-02-2005, 06:40 PM #8
Re: Comment Boxes
hey, I found this through a google search the other day for comment box html codes. Well, I'm pretty new to all this, so I'm really not sure where to go after I paste the html code that was first posted on this thread.
-
12-02-2005, 08:37 PM #9
Re: Comment Boxes
The code here is simply the HTML that sends the input to whatever script you are using. I may not understand what exactly your question is but something is telling me that there may not be a script yet (?).
Dave
-
12-02-2005, 09:04 PM #10
Re: Comment Boxes
yes, yes, you are correct, sorry, I probably should have been a little more clear with my post. I am wanting to make available commentboxes, yet I have practically no knowledge as how to do it.
-
12-02-2005, 09:26 PM #11
Re: Comment Boxes
You will need to start a new thread in the appropriate script forum stating exactly what you want the script to do. What functions do you need, what purpose do you wish to accomplish with this script etc.
Dave
-
12-06-2005, 08:20 PM #12
Re: Comment Boxes
Originally Posted by the9ulaire
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum