View unanswered posts | View active topics It is currently Mon Dec 11, 2017 2:22 pm



Reply to topic  [ 2 posts ] 
 Need help on html and php project !!! 
Author Message
Junior Member

Joined: Wed Dec 23, 2009 6:29 am
Posts: 2
Post Need help on html and php project !!!
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 :

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


Sun Feb 21, 2010 12:11 pm
Report this post
Profile
Junior Member

Joined: Mon Jun 07, 2010 9:18 pm
Posts: 1
Post Re: Need help on html and php project !!!
sorry to say this is not going to be as simple as that. PHP is a server-side laguage, the url is set via javascript which is a client-side language. This means that to store it you need to use javascript to to figure out the url then you can make an AJAX request to store the results with PHP.


Mon Jun 07, 2010 9:27 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.