Php Help
July 1st, 2009
I have a php stats page which all my downloads pass through to log info. I would like to add a small bit of code to be executed ONLY if the name of the file the user is requesting matches a specific naming convention.
so if they request blahblahblah.zip, the file stays the same. but if they request mobilestore.blahblahblah.zip, the extra code is executed, AS WELL AS the existing code. I already have the new code, just don’t know how to set it up to only be called when files match a specific naming convention.



