[nycphp-talk] PHP and framesets
Hans Zaunere
hans at nyphp.org
Wed Aug 6 12:54:16 EDT 2003
Sexton, David wrote:
> This seems simple enough, but maybe it isn't that simple... Does anyone know
> 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.
As far as I know, a frameset is a client-side thing, so PHP wouldn't know anything about it natively. You could, perhaps, have some kind of Javascript callback to a php script, but I don't really know how you'd do it in JS :)
H
More information about the talk
mailing list