• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need urgent url suggession

#1
[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 ?

#2
[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. Smile

#3
[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.

#4
[eluser]Yash[/eluser]
yup RED is looking to BAD

#5
[eluser]nandish[/eluser]
Code igniter is red knw,thats y i posted in red color.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.