Hello, I was wondering if anybody knew of the way to recognise if there is a parent to a page loaded.
I have an index.php which loads two iframes, and it works perfectly, though there is one problem. If someone accesses one of the pages embedded in it directly, the index.php won't be loaded around it.
So basically, index.php calls navigator.php and content.php as its child iframes. If content.php was loaded by itself, is there a code that I can use to recognise that? I tried this for days off end a long time ago and never was successful.
Now I did look into solving this via the PHP end, however if you happen to know PHP, I discovered that $HTTP_REFERRER is not very reliable. =/
Hmm, not anything extremely important to have, but it would be nice, and I've got so many other things to do at the moment, so if someone happened to know this offhand that would be greatly appreciated.. Thank you!!!
I have an index.php which loads two iframes, and it works perfectly, though there is one problem. If someone accesses one of the pages embedded in it directly, the index.php won't be loaded around it.
So basically, index.php calls navigator.php and content.php as its child iframes. If content.php was loaded by itself, is there a code that I can use to recognise that? I tried this for days off end a long time ago and never was successful.
Now I did look into solving this via the PHP end, however if you happen to know PHP, I discovered that $HTTP_REFERRER is not very reliable. =/
Hmm, not anything extremely important to have, but it would be nice, and I've got so many other things to do at the moment, so if someone happened to know this offhand that would be greatly appreciated.. Thank you!!!