CodeIgniter Forums

Full Version: Need urgent url suggession
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

El Forum

[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

El Forum

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

El Forum

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

El Forum

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