[thelist] Get Referrer URL in Frames w/PHP

Bob Haroche spambait at onpointsolutions.com
Mon Jun 16 18:47:03 CDT 2003


Razzak Jallow wrote:
> A person clicks a link from my site that has
> foo.com/frame.php?url=foo2.com.  the frame.php loads foo2.com in
> the bottom  frame and the top frame I want to have a link back to
> the page they came from on my site. 


I don't code PHP but I did this with ColdFusion here:

www.marinbar.org/members/resources

(click on a resource link to see)

I got the idea from a Perl code snippet here:

http://www.alistapart.com/stories/frames/frames3.html

Hopefully that'll get you started.

-------------
Regards,
Bob Haroche
O n P o i n t  S o l u t i o n s
www.OnPointSolutions.com








More information about the thelist mailing list