Hi!
I have page containing a page frame in it. The problem is that the page frame URL address is different each time the main page loads. I can manually check the frame URL address, once the page is completely loaded.
I want such the frame URL address each time to be stored in a php variable.
For Example :
http://blinkideas.freehostia.com/deel/ is the main page.
You can see the pink color box of ads by google. When you right click inside that pink box , a new page source appears bcz its a frame. it has a URL something like this :
http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3439470883941931&output=html&h=600&slotname=7573001513&w=160&lmt=1266764369&host=pub-1556223355139109&h_ch=00000&flash=10.0.45&url=http%3A%2F%2Fblinkideas.freehostia.com%2Fdeel%2F&dt=1266775005815&correlator=1266775005818&frm=0&ga_vid=712750107.1266775006&ga_sid=1266775006&ga_hid=1947648676&ga_fc=0&u_tz=300&u_his=4&u_java=0&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_nplug=9&u_nmime=24&dff=serif&dfs=16&biw=1024&bih=576&fu=0&ifi=1&dtd=48&xpc=lqLZfNUOOr&p=http%3A//blinkideas.freehostia.com
It changes on each page load. Can anyone help me storing this each time in a php variable ?
Regards, Ahmed Taufiq
anY idea ??
You'd have to run javascript code to inspect the DOM and and read that url and then post it back to a php script.
That page is now blank, so I can't give you an example of code that would be easy for you to understand.
bpat1434;10943859 wrote:You'd have to run javascript code to inspect the DOM and and read that url and then post it back to a php script. That page is now blank, so I can't give you an example of code that would be easy for you to understand.
You are talking about
http://blinkideas.freehostia.com/deel/ ?
?
It is not a blank page it has pink box of ads by google on it.
An example would be very helpful, if you can make it for me
im guessing bpat1434 has adblock on, not sure why you want to do with the information logging in to you google adsense account should tell you all you need to know.