Jump to content

autotech

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by autotech

  1. 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;?>

  2. 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>

  3. 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.

     

  4. 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.