0
In PHP, what is used to recieve anything from the user?
2 odpowiedzi
+ 1
you should have a form and use $_POST, $_GET or $_SESSION
0
you have to use the super-globals depending on what do you need from the user.. for instance if the information you want isn't sensitive you can get it using $_GET so it appears on url or If you want a sensitive data for instance username and password you can get them using $_POST, If you want to create a cookie to prevent user for logging many times you will have to get his/her access and put in a cookie function