Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentServer Side ScriptingPHP right
  Reply to this topic Start new topic
left right
dj-luna
post Sep 16 2010, 06:44 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 16-July 10
Member No.: 149,302



I have this form2email script running on another free webhost site and its working fine but it would not want to work on zymic. It keeps on telling me invalid referer domain.

referer is a description of domains from where mail is sent from -- protecting you from spammers.
below is an example of the script

<code>
// Add a list of Domains that can post to this script, separated by comma (include Domains with and without www.)
// e.g. $referrers = "www.domain.com, domain.com";

$referrers = "www.zymichost.com, jacques.zzl.org, www.jacques.zzl.org";

// Alternatively, provide an external file with a list of allowed Domains, each separated on a new line (include Domains with and without www.)
// e.g. $referrers_file = "/home/username/httpdocs/referrers.txt"; or
// e.g. $referrers_file = "referrers.txt";

$referrers_file = "";

and help text

################################
# HELP: REFERRERS
################################

$referrers

Where your "to" variable is part of your form you should include a list of referrers
to prevent spammers from using this file to send spam. Separate each referrer by a comma.
If your site is accessible without a www in front of the URL you'll need to add this address too.

$referrers_file

To automate the administration of referrers this script can call a refferer file.
The file must have each Domain that can use this script on a separate line.
If your site is accessible without a www in front of the URL you'll need to add this address too.
Include the full path to the file.</code>

Now i know zymic has disabled mailing. But why am i getting a referer error if the domains are set correctly as mentioned in the script. www.zymichost.com, www.jacques.zzl.org, jacques.zzl.org

Anyone with more php experience i will appreciate it if you can help me.
Go to the top of the page 
 
  + Quote Post
scout
post Sep 20 2010, 03:51 PM
Post #2


Member
**

Group: Members
Posts: 64
Joined: 14-February 10
From: North West Ohio, USA
Member No.: 130,625



You have to pay for E-Mail service here.

Go to live chat to find out how and see if your script will work with Zymic.
Go to the top of the page 
 
  + Quote Post
pixart
post Jun 1 2012, 02:11 AM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 1-June 12
Member No.: 244,075



QUOTE(scout @ Sep 20 2010, 03:51 PM) *
You have to pay for E-Mail service here.

Go to live chat to find out how and see if your script will work with Zymic.



work whith $_server...
Go to the top of the page 
 
  + Quote Post
Zove Games
post Jul 7 2012, 07:44 PM
Post #4


Newbie
*

Group: Members
Posts: 10
Joined: 4-December 11
Member No.: 220,644



QUOTE(pixart @ Jun 1 2012, 02:11 AM) *
work whith $_server...


Use
CODE
$_SERVER['HTTP_REFERER']
Go to the top of the page 
 
  + Quote Post
aleenajoe
post Nov 26 2012, 09:09 AM
Post #5


Newbie
*

Group: Members
Posts: 15
Joined: 5-July 12
From: Nottingham UK
Member No.: 248,090



I don't think so...
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 18th June 2013 - 10:31 PM