Jump to content

autotech

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

autotech's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Gives an error with that one: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/realwor1/public_html/email-page/recform.php on line 52
  2. Nope, it's still showing the URL of the first page where you open the form. If you go to another page, open the form again, it shows the previous page URL, instead of the current page URL.
  3. I don't know what you mean. If I open the form on one page it shows the correct URL for that page. Close the form. Go to any other page and open the form, it shows the previous page URL, instead of the current page where you just opened the form. There must be a fix???
  4. The link shows up properly, but it still keeps the first URL where you opened the popup form. Go to another page and open the popup, and it will still display the URL from the previous page. There seemed to be no change with this installed: <? if(!isset($_SESSION['refurl'])) { $_SESSION['refurl'] = $_SERVER['HTTP_REFERER']; print $_SERVER['HTTP_REFERER'] . '<br />'; } $refurl = $_SESSION['refurl']; print $refurl;?>
  5. Don't know if it make a difference, but the popup link is installed on each page as a Dreamweaver Library (.lbi) item: <a href="http://www.domain.com/email-page/recform.php" rel="nofollow" target="page" onClick="window.open('','page','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=515,height=660,left=50,top=50,titlebar=yes')"><img src="../images/tool-bar/email-button.gif" alt="E-mail Page" width="80" height="20" border="0" /></a>
  6. The problem is still there, and the URL on the popup appears 3 times. I cleared cookies and files, and the 3 urls stopped appearing on the popup, but it still holds the first url when you go to other pages.
  7. I'm an amature at this stuff. Where should I put it? I replaced this: <? print $refurl;?> With this: <? if(!isset($_SESSION['refurl'])) { $_SESSION['refurl'] = $_SERVER['HTTP_REFERER']; print $_SERVER['HTTP_REFERER'] . '<br />'; } $refurl = $_SESSION['refurl']; print $refurl;?> in recform.php, but the problem is still there.
  8. I have this send-to-a-friend script with 2 issues: 1) When you open the form popup on a particular page, it includes the correct URL for that page (viewable on the popup form). But if you close it, go to another page, and open the popup again -- it shows the URL of the previous page (including it with the email). It holds the same URL no matter how many pages you go to and re-open the popup. Refresh does not help. You have to clear cookies, temp files, history (or one of those) in order to pull up the correct URL for the applicable page. 2) A random problem where sending the email does not include the page URL (blank where it should be on the email). A friend added: if ($refurl == '') $refurl = 'http://www.domain.com'; at line 61 of recform.php so users will at least get the homepage URL when this problem occurs. See attached files. Help on these problems would be greatly appreciated. [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.