Coding help

Associate
Joined
7 May 2004
Posts
353
Hi,

I've setup an Amazon astore and I want to do something funky around it.

The astore is in an iframe, the visitor would browse to the product in the iframe and when a user clicks a button on the page the iframe is stored within it pulls out some basic information from the astore page (product name/price etc), I'm fairly confident I can write a php script that will do this (using file_get_contents() or something similar). The problem I'm having at the moment is pulling the url from the iframe that will need to be passed to the php script for it to parse. Javascript won't do it as using document.getElementById('theframe').url won't work for external sites.

I can't think of any other ways of doing it, does anyone have any ideas? I'm open to switching from PHP to ASP.net or even ASP classic.

Hope that makes sense.

Thanks.
 
Back
Top Bottom