• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best and safe way of sending filename in url using CI 2.2 and smarty

#1
[eluser]mstdmstd[/eluser]
Hi,
which is the best and safe way of sending filename in url using CI 2.2 and smarty ?
I tried to make it like
Code:
< a href="admin/admin/view_source{"/application/views/Bootstrap-3-Admin-Theme/admin/header.tpl"|urlencode}" > header source< / a >

but I got error
Code:
"Not Found" http://local-ci22.com/admin/admin/view_source/application/views/Bootstrap-3-Admin-Theme/admin/header.tpl"
In my config :
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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