Email to a friend script problems


Posted on 16th Feb 2014 07:03 pm by admin

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:

Code: 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

No comments posted yet

Your Answer:

Login to answer
339 Like 38 Dislike
Previous forums Next forums
Other forums

Multidimensional Array into an Html table, help!
Hello all, I am new to HTML/PHP so any help would be great.

I have a multidimensional array f

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). <

order by date not ID number help php
I am trying to orginize the following code to order by date not id number.
any help would be grea

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

delete comma
HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2corr

php slowing my site?
Hi all,

I think that one of the reasons that my site doesn't work fast is that the code is ve

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash