Welcome Guest, Not a member yet? Register   Sign In
SVN url helper : current_url function added
#11

[eluser]xwero[/eluser]
request_uri doesn't return the full url, script_uri does. most of the times request_uri is the same as php_self. And php_self got some bad press.

If you look at the form_open function of the form helper it adds a full url to the action too. I don't use the form_open function so i want a function that gets the full url instead of doing site_url('seg/ment/s'), current_url is born.


Messages In This Thread
SVN url helper : current_url function added - by El Forum - 08-20-2008, 02:24 AM
SVN url helper : current_url function added - by El Forum - 08-20-2008, 05:28 AM
SVN url helper : current_url function added - by El Forum - 08-20-2008, 08:09 AM
SVN url helper : current_url function added - by El Forum - 08-26-2008, 03:58 AM
SVN url helper : current_url function added - by El Forum - 09-17-2008, 04:09 AM
SVN url helper : current_url function added - by El Forum - 09-17-2008, 04:45 AM
SVN url helper : current_url function added - by El Forum - 09-18-2008, 02:37 AM
SVN url helper : current_url function added - by El Forum - 09-18-2008, 03:18 AM
SVN url helper : current_url function added - by El Forum - 09-18-2008, 03:28 AM
SVN url helper : current_url function added - by El Forum - 09-18-2008, 10:37 PM
SVN url helper : current_url function added - by El Forum - 09-19-2008, 12:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB