Domanda

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?

È stato utile?

Soluzione

ok, finally i solved this with $_SESSION.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top