NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP and framesets

Analysis & Solutions danielc at analysisandsolutions.com
Wed Aug 6 13:11:01 EDT 2003


David:

On Wed, Aug 06, 2003 at 12:38:53PM -0400, Sexton, David wrote:
> of a way to have PHP return the top level document's location? Basically I
> have a script that references PHP_SELF... if you throw it into a frameset,
> it naturally returns the frame source URL, not the frameset's.

Total guesses...  How about checking $_SERVER['HTTP_REFERER'] in the
frame?  Or, put a query string onto the frameset's call to the frame, 
which you can then read in the frame.

See you,

--Dan

-- 
     FREE scripts that make web and database programming easier
           http://www.analysisandsolutions.com/software/
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list