php query gets multiple files with identical content

Ian
08/26/2005 12:22 am
I have site with the following format:
http://www.server.com/dir/file.php?param1=n1&param2=n2&...&paramx=nx
yields the same file as
http://www.server.com/dir/file.php?param1=n1&paramx=nx&param2=n2&...
but different than
http://www.server.com/dir/file.php?param1=m1&param2=m2&...&paramx=mx

So that a unique set of param values will give a unique file (which OEP downloads fine). The problem I`m having is that the query parameters in the links aren`t always in the same order, and OEP is downloading all such permutations. I`ve been able to reduce some of the excess by URL substitution of unimportant parameters, but I still have a huge number of identical files being enqueued. Any help would be appreciated.
Ian
08/26/2005 12:30 am
Repost since formatting got messed up:

I have site with the following format:
http://www.server.com/dir/file.php?a=1&b=2&...&x=n
yields the same file as
http://www.server.com/dir/file.php?a=1&x=n&b=2&...
but different than
http://www.server.com/dir/file.php?a=100&b=200&...&x=m

So that a unique set of parameter values will give a unique file (which OEP downloads fine). The problem I`m having is that the query parameters in the links aren`t always in the same order, and OEP is downloading all such permutations. I`ve been able to reduce some of the excess by URL substitution of unimportant parameters, but I still have a huge number of identical files being enqueued. Any help would be appreciated.
Oleg Chernavin
08/26/2005 03:13 am
Yes, I understand. I will need to add the ability to sort the parameters in future versions. However this should be optional, since some sites require that parameters should follow in strict order.

I hope to work on this in 4.1 version.

Best regards,
Oleg Chernavin
MP Staff