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 7042919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:13:34+00:00 2026-05-28T02:13:34+00:00

I have created a PHP form, which, upon submission, goes to another PHP page.

  • 0

I have created a PHP form, which, upon submission, goes to another PHP page. This validates all the input, removes backslashes etc.

My question is this: if I create a check before the PHP script processes any of the information, by checking a POST variable called something like ‘uniquecode’ which would be posted along with the form, would this make my form more secure?

I am using all post variables. My script is getting quite advanced and I want it to be as secure as possible, but also as simple as possible.

  • 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-05-28T02:13:34+00:00Added an answer on May 28, 2026 at 2:13 am

    Adding additional verification fields into the HTML won’t secure the form, This is because the HTML can be manipulated by the user once rendered.

    If you want to protect your form from spam, I recommend reCaptcha:
    http://www.google.com/recaptcha
    People on Stack Overflow will help you to integrate this if you need help.

    You can also search for information about “Cross-Site scripting” (XSS) for security tips. Here is the Wikipedia article to get you started: http://en.wikipedia.org/wiki/Cross-site_scripting

    Guarding against XSS is important to make sure that all the information being processed by PHP has actually come from your own site, and not somebody else’s.

    Hope this helps you out.

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

Sidebar

Related Questions

I have created a html page in php and upon submission i validates that
I have created a custom PHP script which uploads information submitted by a form
I have created and html form which have a drop down list. This drop
I have created a form in which i embed another form. My question is
I have created an form validation using ajax/php. Each text box is validated using
I have created this report using BIRT and phpjavabridge <?php header(Content-type: application/pdf); header(Content-Disposition: inline;
I have created an admin panel for a client in PHP, which requires a
I have created a page index.php with a lot of divs and I need
I wonder whether someone can help me please. I've created this form which allows
I have created a script which posts data to a page automatically. It can

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.