Hi,

I know you can access the iframe name using javascript however I need this variable to be visible in PHP as I need to check the iframe name against a database so I can choose what can be seen.

I am using these frames to mask the url and load a template website, the iframe name is then used to let me know what database to query and therefore what site to load.

Passing a variable using the GET method in the iframe is not good enough as if the user goes from one url to the other using the back and forward buttons, the GET variable might not be passed through.

Can anyone point me in the right direction?

Thanks

Kevin

    Hi, what would be the advantage of using CURL? and is it possible you could give me a quick example on how this would help me?

    Thanks

      I have tried the curl library, i managed to get the contents of say example.com to appear in solution.com however all the images are also stored at example.com so in order to make a call to them I would need the full path i.e. http://www.example.com/images/solution/1.jpg however the word solution you can see in that url is the bit that needs to be dynamic and you can't pass a variable back into a full path. So this isn't going to work.

      If anyone can see another solution please let me know

      Cheers

      Kevin

        Write a Reply...