Welcome Guest, Not a member yet? Register   Sign In
Get Vars directly to the view (Cleaning Controller)
#5

[eluser]xwero[/eluser]
There is nothing that stops you from doing this
Code:
<html>
   <?=$_GET['vars']?>  
   <?=$_GET['id']?>  
   <?=$_GET['name']?>
   <?=$_GET['abracadaba']?>  
</html>
but i think you prefer the shorter variable name.

But i think you want to go back to the times where all REQUEST keys where reachable via a variable. This way of programming is insecure and error prone.


Messages In This Thread
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-16-2008, 06:22 PM
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-16-2008, 06:26 PM
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-17-2008, 12:55 AM
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-17-2008, 03:40 AM
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-17-2008, 03:52 AM
Get Vars directly to the view (Cleaning Controller) - by El Forum - 10-17-2008, 04:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB