I'm trying to access another website but when I go to it it automatically redirects me to another URL and assigns me a USERID that time expires.
For example, i open up the page http://www.foo.com and the site automatically redirects me to http://www.foo.com?userid=12345
I need to figure out the GET variable "userid" to do what I want to do. Is there a way to do this when using fopen or fsockopen?