School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,420 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,533 people online right now. Registration is fast and FREE... Join Now!




How Do I get Comments from vistors

 

How Do I get Comments from vistors

prabh

21 Jun, 2009 - 05:59 PM
Post #1

D.I.C Regular
Group Icon

Joined: 27 Dec, 2008
Posts: 289



Thanked: 8 times
Dream Kudos: 25
My Contributions
Hi
I have simple question

How Do I get Comments from visitors of my site
just like that a small textbox with button to add comment

User is offlineProfile CardPM
+Quote Post


SixOfEleven

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 06:05 PM
Post #2

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 2,910



Thanked: 165 times
Dream Kudos: 725
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
You would need some sort of server side processing. I'm using an HTML form with a CGI script. I think it is something you can do in PHP but don't quote me as I've never used it. It can be done in ASP.NET too.
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 06:28 PM
Post #3

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
QUOTE
I'm using an HTML form with a CGI script. I think it is something you can do in PHP but don't quote me as I've never used it. It can be done in ASP.NET too.

Yes, PHP, ASP, ASP.net, Ruby and I believe all other server-side langauges can be used to take form input and use it.

You will also want to have a database of some sort. I suggest MySQL ass it is seen quite often, but you could use a number of other databases as well.
User is offlineProfile CardPM
+Quote Post

prabh

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 06:39 PM
Post #4

D.I.C Regular
Group Icon

Joined: 27 Dec, 2008
Posts: 289



Thanked: 8 times
Dream Kudos: 25
My Contributions
tommorow i visited one site which was hosted by synthasite .com they are free and the site i visted that page was having a php extension

so can create a page using php to get comments

is it difficult i know html

but only html
User is offlineProfile CardPM
+Quote Post

markhazlett9

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 06:54 PM
Post #5

Coding is a lifestyle
Group Icon

Joined: 12 Jul, 2008
Posts: 1,443



Thanked: 45 times
Dream Kudos: 25
My Contributions
If all you know is html you will either have to learn PHP with some database connection stuff or I recommend using an engine already built for you like Wordpress.

Cheers
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 07:03 PM
Post #6

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
PHP isn't that hard to learn. Given a couple of days (or weeks depending on how much time you have) you could probably get something working nicely.
User is offlineProfile CardPM
+Quote Post

prabh

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 07:08 PM
Post #7

D.I.C Regular
Group Icon

Joined: 27 Dec, 2008
Posts: 289



Thanked: 8 times
Dream Kudos: 25
My Contributions
i have fast mind man
i learned html in 3 days
i spent my 7 hours of day to html

now i will be doing same with php



@Edit**Thanks to all of you

This post has been edited by prabh: 21 Jun, 2009 - 07:09 PM
User is offlineProfile CardPM
+Quote Post

markhazlett9

RE: How Do I Get Comments From Vistors

21 Jun, 2009 - 07:49 PM
Post #8

Coding is a lifestyle
Group Icon

Joined: 12 Jul, 2008
Posts: 1,443



Thanked: 45 times
Dream Kudos: 25
My Contributions
I didn't mean to offend you or doubt your skills, just saying, PHP is a server side, Object oriented language that's completely different from PHP. Not saying you can't do it. I just attempted something along the same lines as you're doing. Except I built an entire blog engine from PHP. However with the time it takes I actually found it better to use wordpress due to the plugin system that they have and the number of plugins. This would take weeks and weeks of a professional development team to built something equivalent. So why waste your time when there is a really really good system already out there?

Cheers
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 12:09AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month