Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: CSS for printing and tell-a-friend scripts

by sgifford (Prior)
on Dec 07, 2004 at 17:10 UTC ( [id://412948]=note: print w/replies, xml ) Need Help??


in reply to CSS for printing and tell-a-friend scripts

To find out where the user came from, you can look at the Referer header, although you can't rely on this always being set. For a more reliable method, embed the current URL into the request, via a CGI parameter:
<!-- On page /example/page1.html --> <a href="/cgi-bin/tellafriend?url=/example/page1.html"> Tell a Friend! </a>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (None)
    As of 2024-04-25 00:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found