...

View Full Version : Send email to a friend script problems



autotech
01-08-2010, 08:32 PM
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 (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). 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. 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.

Old Pedant
01-11-2010, 11:58 PM
Doesn't sound like PHP problem. Sounds more like JS.

Can you show the page live?

autotech
01-12-2010, 12:18 AM
Sent you a message.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum