Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sending links of pages

    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
    Last edited by Charl; 02-17-2003 at 04:25 PM.

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    British Columbia
    Posts
    235
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can put REQUEST_URI in as a hidden field of the form.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •