Jump to content

Environment Variable GET


iyeru42

Recommended Posts

Just like in PHP, (I got it from here.)

var $_GET = {};vars_area = location.search.substring(1);if(vars_area.length > 2){   get_sets = query_str.split("&");   for(i = 0, num_gets = get_sets.length; i < num_gets; i++)   {	  parts = get_sets[$i].split("=");	  $_GET[unescape(parts[0])] = unescape(parts[1]);   }}

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...