Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I wonder if you could also send vars without using hidden input, because input hidden is always readable in the code
You can use $_SESSION or continue using hidden inputs with encrypted name and value, then the user has no clue what they are reading.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
a challenge like this $_GET['2020'] snippet boring me a long time, i want to know how this work, but do not know which keywords to search, maybe how the parameter works?
$_GET reads querystring parameters from the URL. So if someone goes to your PHP script with a URL like http://servername/scriptname.php?2020=ABC then when the PHP script runs, the variable $_GET['2020'] will contain the value ABC.
More info is available in the documentation: https://www.php.net/manual/en/reserved.variables.get.php
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a html form with 16 fields (https://secure.high-speed-business-club.com//TEMPLATE-order-form-module/?affiliate=0).
What is the best way to capture all of these field values in a single array to be stored as SESSION variables?
In order to do this you will have to post your form data to a second page and assign your session variables there.
Once they're assigned you will be able to access them anywhere on the site as long as that session is active.
W3 School's tutorial
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am trying to get a form's action attribute in server side php.
I tried getting it through $_POST['action'] and $_REQUEST['action'] but this value is not set.
Please help me.
The action attribute is not sent via a form submission.
Check $_SERVER['REQUEST_METHOD'] instead.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Essentially the title, please keep it simple, im not accustom with code.
You can use header('Location:yourpage.php') at the end of your function.
Header
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
What I'm trying is a php form validation from a separate file.(form.php & validate.php).
Is it possible?
Yes, you just have to include the scripts and you have access to functions inside of them. You really couldn't google this one?
include("validate.php"); //inside form.php