Results 1 to 2 of 2
November 27th, 2004, 03:18 PM #1
- Join Date
- January 17th, 2005
I have a number of dynamic store pages on several of my sites, which are iframes that one embeds in ones own page.
I have been trying to see if I could read them server side with PHP, so I have a bit more control of them.
However my sample code is failing 400 Bad request.
Does anyone know if this is possible ?
If yes, then I will persevere now ,
if not then it will go on my background pending further research list.
December 5th, 2004, 06:48 AM #2
It's just an HTTP GET, so it should be possible.
Your problem could be at the merchant end. They may require a referrer so they know it is embedded (to prevent exactly what you are doing). Or they may be screening based on the the user-agent. Try including either of those headers in your request to see if it helps.
In general, anything retrievable by a browser is retrievable by PHP/Perl/Python. Sometimes you just have to get sneaky. The closer your program's request mimics a browser's request, the more likely you are to get past any problems.
-John.There's a reason army's wear uniforms even though it makes them easier to spot. Sometimes that's what you want. Uniforms suggest organization, power, and numbers. These, in turn, inspire fear. And, as any good operative knows, there is no more effective weapon than fear.
Hosting Comparison - HostScope - jrrl.com
By kreasor in forum Programming / Datafeeds / ToolsReplies: 2Last Post: August 22nd, 2008, 11:04 AM
By Cheesehead in forum ShareASale - SASReplies: 6Last Post: August 19th, 2008, 09:48 PM
By vinod in forum Google Affiliate Network - GANReplies: 2Last Post: August 2nd, 2008, 10:16 AM
By Roland in forum Commission Junction - CJReplies: 15Last Post: October 18th, 2004, 05:40 AM