Jump to content

Getting value from URL?


this.user

Recommended Posts

Thanks for directing me in the right direction, this ended up working for me:

 

substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'], '/c/?') + 4);

 

or you can simply do

 

substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'], '?') + 1);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.