Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9195699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:41:08+00:00 2026-06-17T21:41:08+00:00

I am designing a forum and I want to be able to let users

  • 0

I am designing a forum and I want to be able to let users upvote certain posts and I would like to record the amount of views that each post has so that I can display them to the public. I am primarily working with mysql, php, javascript, and jQuery. Typically when a user clicks on something that I want to record in the database I use jQuery to check the data, then php to input the data in the mysql database; however, this method requires the page to reload and that is definitely not what’s happening on FB or Stackoverflow’s website. I know that you can write to the database using jQuery or javascript, but everywhere that I have read about such things they advise against it for security purposes. So how should I go about this? Also, while were already here, if anyone could advise on certain precautions that should be taken in order to safeguard against abusing the upvote system. I was planning on limiting it to registered users and having a table that saves each users upvotes so that they can’t upvote something more than once.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:41:10+00:00Added an answer on June 17, 2026 at 9:41 pm

    Read up on AJAX. The only security precautions are basically just validating your input, same as you should be doing for your forms or any other input from a request.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I constantly feel that designing a form layout in WPF is like designing a
I'm a newbie. Designing a form that can be resized, and I want my
I am designing an application where I basically want to load geographical maps that
first of all I would like to thank you for the many good posts
I wonder if there is any practice when designing a forum. I want to
-- FIDDLE -- I'm designing a form that acts like a wizard, walking the
I am designing a simple registration form in ASP.net MVC 1.0 I want to
I am currently designing a forum as a personal project. One of the recurring
I m designing a new forum for My Company and i wanted to confirm
I am designing a web page for playing some movies. I want user to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.