0
When Collecting form data , can the php superglobals $_POST and $_REQUEST be used for this purpose?
We know superglobals can be accessed anywhere regardless of scope, my question is specific to the form input fields, the information, the user inputs there.
3 Antworten
+ 10
Hii EMMANUEL NUOTAH TUONUO DERY
Can you elaborate the question a bit where we can locate what you are exactly asking for..
Though am giving a resource which might help you to know..
https://www.geeksforgeeks.org/php-superglobals/
Might this will clear your unclear query..
Hope you understand 👍
+ 5
Yes
Check this : https://www.w3schools.com/php/php_forms.asp
+ 1
Yes. $_POST contains the body of a HTTP POST request. $_REQUEST contains every data sent regardless of the method (verb).