CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
capture HTML

 



daniel_lsl
Deleted

May 2, 2000, 11:14 AM

Post #1 of 2 (696 views)
capture HTML Can't Post

Hi is there anyone who can help me out with this. I used a cgi script to print out a HTML page. I would like to add a print feature on it. Therefore I need to send the HTML page to another cgi script to parse it. However I'm not sure how to send the content of the current HTML page. Any help would be appreciated.


Jasmine
Administrator

May 3, 2000, 6:20 AM

Post #2 of 2 (696 views)
Re: capture HTML [In reply to] Can't Post

You can try using the $ENV{'HTTP_REFERER'} variable to determine which page on your site the visitor came from.

The $ENV{HTTP_REFERER'} gives you the full url of the page your visitor was last on before arriving at your current page. In this case, it would be the page that your visitor is clicking "print this page" from.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives