CFHTTP Trace Acting Weird?
Wow, I haven't been here in a while, but I am completely stumped on this one. Let me see if I can explain...
There is a site that if you append an email address onto a URL, you can find out if someone has a profile on that site. For instance:
If typed directly into a browser: www.some-site.com/?email=bob@bob.com will then forward you to a URL that is formatted like so: www.some-site.com/users/bob
Fair enough... I have a client that wants to enter a few thousand email addresses into a form (comma separated), clicks search where then I append those email addresses one at a time to the end of www.some-site.com/?email=. I'm using CFHTTP (TRACE) as a way to do this because inside the returned FileContent, I get back "TRACE /user/bob ...." which is completely awesome cause I just run a small regex to extract the "/user/bob" append that onto www.some-site/, display to my client and everyone's happy. Hope I'm not just rambling here...
So, that's all fine and good... however, this is locally. When I put it on my live server and run it, i get back in filecontent:
"TRACE /?email=bob@bob.com...." Um... what? I've tried this on 4 different CF servers all with the same configuration (Windows/Apache/CF 😎 and everyone of them returns this data, but my local machine returns exactly what I need.
Anyone have ANY idea what's going on here?! I've been doing this stuff for years and I am completely at a loss now. Seems to me that CFHTTP would work the same on any server. I guess I was completely wrong ![]()
Thanks!
