Computers |
|
| | #1 (permalink) |
| True Techie Join Date: Apr 2005
Posts: 110
| Hello, I've been trying to create my own password zone script. Everything works fine except for 1 BIG problem. I've changed the form's methord to "post" so that the data doesn't get shown on the url. However, when the information does get passed to the php file to processes the login, I used $_REQUEST function and.... it appears that it has ignored my POST methord and just went ahead with the "GET" methord which showed username and password on url -_-" can someone please tell me why it's happening and how to fix it? |
| | |
| | #2 (permalink) |
| Super Techie Join Date: Apr 2004
Posts: 316
| The receiving file(the one that processes the login) had nothing to do with how it pass the data. It is something in the form itself. You might try taking the method attribute out as I think(don't qoute me) post is the default.
__________________ BlazingWolf <font color=\'red\'> <b> <a href=\'http://www.gaming-forums.org\'> Gaming-Forums.org <a/> </b> </font> |
| | |
| | #3 (permalink) |
| Ultra Techie | As far as I know you shouldn't even have to use $_REQUEST anyway, since once its 'posted' it should be accessible simply by $fieldname
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64 Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003 Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| | |
| | #4 (permalink) | |
| True Techie Join Date: Apr 2005
Posts: 110
| Quote:
| |
| | |