Hello! I am new here. My first post, but not my last. Haven't been working with PHP in a long while, so I am rusty...
But back to the business. I have a webpage: www.site/page245.php. I also have a "frame" on the right side where I have this PDF-button.
That button uses html2pdf to create a pdf. The problem is:
I need to get a hold of the address it is supposed to create a pdf of.
when I use this code: $htmlFile = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; I only get the current page, and I want the previous...
If I haven't made myself clear, don't hesitate to ask!
I have also drawn a very nice picture in the best program of them all; ms paint!
Can someone help me with this?
Thanks in advance.
Bhead
[attachment deleted by admin]