View Full Version : Sending links of pages

02-17-2003, 03:12 PM
Hello hello,

I am trying to setup a "send to friend script" on some of the pages on a site.

What Iíd like is multiple forms all posting to one script, then that script sends out the link of the page with the form on and a message. And so on for each page.

I can send the mail fine but how do I send the link of the page the form is on?
Tried HTTP_REFERER but that only works with clicks?
I thought REQUEST_URI might do it but that sends the link of the script.

Iíve looked on hostscripts but they all seem to be "recommend a page" or "send this page". Canít send multiple.

Any ideas

Dylan Leblanc
02-18-2003, 12:13 AM
You can put REQUEST_URI in as a hidden field of the form.