سؤال

I want to get values like foo, bar from a current page url like:

example.com/foo/bar 

I've searched everywhere and tried arg(), request_path(), current_path(), and even $_SERVER, all of this didn't work in my custom action with VBO, I thought this situation also didn't work with $_GET.

Anyone can solve this?

هل كانت مفيدة؟

المحلول

ok, finally i solved this with $_SESSION.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top