frame.src with php file dont get GET parameters

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

frame.src with php file dont get GET parameters

Post by yacahuma »

Hello,

if a have a page with frames

page1
---- frame1.src=''
----frame2.src='page2.php';

At the end of page2.php I have a js code to load page1, like so parent.frame1.src='page1.php?param1=2';

Why page1.php does not see the parameters?
Thank you
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: frame.src with php file dont get GET parameters

Post by requinix »

You sure you're using the right JavaScript to do that? Any errors or warnings?
Does $_GET have anything at all?
Post Reply