I was wondering if there is a program that will resolve a php script when you try to download a file. For example if you do "wget
http://www.download.com/3002-8022_4-...2.html?tag=dir" you would download "3002-8022_4-10309792.html?tag=dir" and not the actual file. I was wondering if there is a way to download files like this without having to use a web browser. I have php installed but I do not know if that will have anything to do with it. I have searched but I did not seem to find anything on this.
Thank you in advanced.