I've got a PHP script which is called via IFRAME from selected Yahoogroups...

$t1="\nGROUP - '$group'\n\n";
foreach ($_SERVER as $ab => $ac){
$t1.="SERVER '$ab $ac\n";
}

(partial result here :-

===================================================

SERVER 'HTTP________ ~~~~:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SERVER 'HTTP________________ ~~~~~ ~~~~~~~

====================================================

Hi, i've got a PHP script which uses the REFERER etc - to determine
which site called my PHP script (via IFRAMES)...

However - ive had a few "errors" - Where it emailes me when an invalid
site uses the Iframe - & I have no "referer" reference - Where the
referer values should be  - I get the above two lines


$t1="\nGROUP - '$group'\n\n";
foreach ($_SERVER as $ab => $ac){
$t1.="SERVER '$ab $ac\n";
}


(It then emailes me the error message - including the values for $_SERVER )

Is there a GUARANTEED way to determine the source / origin of the site
/ URL that called my Iframe ?

Or should I use another value instead of $_SERVER ?

-- 
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/

Reply via email to