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.
Did you know?Explore Trending and Topic pages for more stories like this.

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

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

Help with ORDER BY
Hello. I would like to order by ascending States, then Cities, then Gyms in the following code, but

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

How to add an image/C++ OpenGL?
Hi,

I have been trying to look online for this and, so far, I haven't found anything usef

Mail functionality from localhost to server
Hi

I am facing problem of mail functionality.

When i tested mail functionality in my

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

Not Loading Function Into Div
I'm not sure whether to put this under the php forum or ajax forum but because I tink it's more of a

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