Need urgent url suggession |
[eluser]nandish[/eluser]
http://se.unoserv1.com/index.php/csubscript /updateUsdata/MI/TroyAthensHigh /2008?uName=Krishna+Kanth&uRole=COACH_EDITOR&uPlan=COACH_EDITOR_LEVEL1&uId=Mi28270&submit;= In the above query string i changed the uName and uPlan values and i hit enter key,its updating but i dont want this,In case if the user change the values in the query string it should redirect to login page...any suggession ?
[eluser]Yash[/eluser]
Use another field for authentication. Generate some random string in that.Execute query when that field matches and makes that field empty after execution.. so whenever u want to run query u will need an correct match code http://se.unoserv1.com/index.php/csubscript /updateUsdata/MI/TroyAthensHigh /2008?uName=Krishna+Kanth&uRole=COACH_EDITOR&uPlan=COACH_EDITOR_LEVEL1&umatch=WERST324VS&uId=Mi28270&submit;= Hope this helps you.
[eluser]Pascal Kriete[/eluser]
You shouldn't be storing the username in the get array. Use a session. Btw, making your post red doesn't net you more responses.
[eluser]nandish[/eluser]
Code igniter is red knw,thats y i posted in red color. |
Welcome Guest, Not a member yet? Register Sign In |