If I have a url that looks like this, what\'s the best way to read the value
http://www.domain.com/compute?value=2838
I tried parse_u
parse_u
You can use parse_url and then parse_str on the query.
parse_url
parse_str
Prints:
Array ( [value] => 2838 )