SNOOPY when URL is Redirected
Posted: Sat Apr 17, 2004 2:04 pm
I am writing a program in PHP that accesses the HTML of a given URL via class SNOOPY. However, some URLs change into another one e.g. http://www.247paintball.com becomes http://www.247paintball.com/forum/index.php if you connect to it. How can I tell that this URL changes like that? I think it is called “redirecting”. Is it in the HTML? I need to know what the new URL is in order to translate HREF= into the complete URL. Charlie chvol@aol.com