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

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Remove Rows From Database ad
Hi All,

I have this:

Code: [Select]<?php
session_start();
include('../com

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

PHP Tab Control
Hi All,

I would like to have PHP tab control with/without Javascript.

But I want to r

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

Socket Server Response Headers
Earlier I had a post about my Socket Server, I wasn't able to get it to connect, now I can

I

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that

Problem with passing variables
I'm not really a php programmer so I'm really struggling with this issue.

I have a banner s

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