Click to See Complete Forum and Search --> : Add Ratings


zachg
10-01-2003, 08:23 PM
How can i add different ratings to things on my site, for example, if i have a movie, how can i make it so visitors can rate the video and i can post that rating somwhere else on the site... if that makes any sense at all.

PeOfEo
10-01-2003, 09:23 PM
You are going to need a server side language and a data base to store the movie titles and descriptions etc. Then you will need a form object (like a combo box or drop down list, same difference) and you will need to write and sql statement with your server side language to update the rating feild in the data base. It will not be a simple task or just a little bit of code, if that is what you are going for.

zachg
10-01-2003, 09:29 PM
*sigh* ok, im new at this, is there a much much easier way to do this?

PeOfEo
10-01-2003, 09:41 PM
No, afriad not, but doing things server side can be much more functional with java script, it would probably be easier then using java script even if you could use java script too. Also if you were doing it with java script it would be insanely laggy. Do you have any programming background? Do you know any vb or vb script? Do you know java? Are you experienced with java script?

zachg
10-01-2003, 09:43 PM
yeah i know some java

PeOfEo
10-01-2003, 09:49 PM
Ok well that makes things easier. Your choices are
JSP: java server pages... they use java
ASP.NET: using C#, its syntax is similar to java
PHP: not object oriented like java and asp.net but is also very similar to java in structure.
Those are probably the best choices since you have a background in java.

zachg
10-01-2003, 09:51 PM
php sounds good

zachg
10-01-2003, 09:56 PM
well actually, im using angelfire, i dont know if php will work on it

PeOfEo
10-01-2003, 09:56 PM
Well If you still want to go with access, ASP.NET is what you would want for that.

zachg
10-01-2003, 09:58 PM
ok that sounds good. how do i do that

PeOfEo
10-01-2003, 10:00 PM
Originally posted by zachg
well actually, im using angelfire, i dont know if php will work on it I dont think they support any server side language. They allow you to access some cgi with your html forms though. A fat lot of good that will do though since you cant have your own cgi bin. I suggest a change of hosts. Are you looking for a free host or anything? What kind of traffic are you getting?

zachg
10-01-2003, 10:02 PM
actually i have a cgi bin

PeOfEo
10-01-2003, 10:07 PM
Oh really, I am supprised. Well maybe CGI would be the answer for you. CGI from what I have heard is hard to use (with perl anyway) but then again I dont know much about it... I don't even know what kinds of data base it uses (I think it uses a mysql but I would not put money on it). Well you are going to have to do a little digging to see what is right. You are not limited to your host, you can move or make a free account and use dual accounts (if it does not violate either hosts aggreements... but then again how would they know? *note I am not encouraging scamming hosts)

zachg
10-01-2003, 10:08 PM
alright thanks