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

Hi, explode and strstr.
Hi, I seem to be confused about the strstr function, eg. i have a string like:
"a.b.c.d.e.f&

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Page not Loading After Test
Hey All

It seemed that an inlcude statement wasn't working for some reason, so I tried a more

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

for some reason mysql query not working, not inserting, please check it out
This code is not inserting anything into my db, don't know why, the $_SESSION variable does contain

Custom array sort? asc then desc
Any ideas how I could sort this array? I've been trying for a while. Maybe with usort, but I have no

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

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