Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Feb 2004
Location: Somewhere along the cut
Posts: 250
Thanks: 1
Thanked 0 Times in 0 Posts
Jean is an unknown quantity at this point
  Formmail.cgi experts

I am treading dangerously into new territory here. I have created a Submission Form on www.petmag.co.uk, but cannot get it to work.

Below is the section on the formmail.cgi that I have changed and the corresponding html in the file. Can anyone see were I have gone wrong. I am trying to achieve a redirect to the home page once the submit button has been pressed. At the moment I am not even getting the emails.

$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 1;
$mailprog = 'SMTP:mailhost.petmag.co.uk';
$postmaster = 'admin@jegranet.com';
@referers = qw(petmag.co.uk 85.234.132.66 localhost);
@allow_mail_to = qw(admin@petmag.co.uklocalhost);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/styles/style.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: admin@petmag.co.uk
Subject: Breeders Form

Thank you for your directory submission.

END_OF_CONFIRMATION
-------------------------------------------------
HTML

<form name="SubmissionForm" method="post" action="http://www.petmag.co.uk/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="feedback@petmag.co.uk"> <input type="hidden" name="redirect" value="http://www.petmag.co.uk/index.html" />

Hope someone can help. I am having a real blonde senile day today.
__________________
Jean
JeGraNet.com
_____________________________
Learning is a treasure which accompanies its owner everywhere
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Jul 2005
Location: North Devon
Posts: 639
Thanks: 0
Thanked 2 Times in 2 Posts
futureweb is an unknown quantity at this point
Code:
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 1;
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = 'admin@jegranet.com';
@referers = qw(www.petmag.co.uk petmag.co.uk 85.234.132.66 localhost);
@allow_mail_to = qw(admin@petmag.co.uk);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/styles/style.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: admin@petmag.co.uk
Subject: Breeders Form

Thank you for your directory submission.

END_OF_CONFIRMATION
-------------------------------------------------
HTML

<form name="SubmissionForm" method="post" action="http://www.petmag.co.uk/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="feedback@petmag.co.uk"> <input type="hidden" name="redirect" value="http://www.petmag.co.uk/index.html" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Feb 2004
Location: Somewhere along the cut
Posts: 250
Thanks: 1
Thanked 0 Times in 0 Posts
Jean is an unknown quantity at this point
Made the change, but still not working. After pressing the submit button it goes to the cgi-bin/formmail.cgi page.
__________________
Jean
JeGraNet.com
_____________________________
Learning is a treasure which accompanies its owner everywhere
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Jul 2005
Location: North Devon
Posts: 639
Thanks: 0
Thanked 2 Times in 2 Posts
futureweb is an unknown quantity at this point
do you have you perl path in there anywhere ? #!/usr/bin/perl


What flavour hosting do you have ? Windows / *Nix

Which other scripts does your server support asp, php

this '/usr/sbin/sendmail -oi -t'; should be '/usr/sbin/sendmail -t'; * sorry

Last edited by futureweb; 12-02-06 at 07:08 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Feb 2004
Location: Somewhere along the cut
Posts: 250
Thanks: 1
Thanked 0 Times in 0 Posts
Jean is an unknown quantity at this point
Unfortunately I can't answer those questions. I don't have the technical knowledge. I have written to David (Host) to check if the permissions have been set ok, and changed the '/usr/sbin/sendmail -t'; bit, but that didn't work either. When David comes back to me I will ask him the other questions.

I believe it was David that told me to set the above code to the smpt one, rather than either of those two.
__________________
Jean
JeGraNet.com
_____________________________
Learning is a treasure which accompanies its owner everywhere
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Jul 2005
Location: North Devon
Posts: 639
Thanks: 0
Thanked 2 Times in 2 Posts
futureweb is an unknown quantity at this point
  #7 (permalink)  
Old 12-02-06
Registered User
 
Join Date: Feb 2004
Location: Somewhere along the cut
Posts: 250
Thanks: 1
Thanked 0 Times in 0 Posts
Jean is an unknown quantity at this point
Thank you for your help. Form now working. Apparently it needed the changes you advised plus the permissions on the server setting to 755, which my host has done.
__________________
Jean
JeGraNet.com
_____________________________
Learning is a treasure which accompanies its owner everywhere
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-02-06
Registered User
 
Join Date: May 2004
Location: London Uk
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
a4uforummember is an unknown quantity at this point
More Than Pet insurance is no longer available on the tradedoubler network!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Affilate Experts Required on a Freelance Basis monkeydust The Affiliate Marketing Lounge 5 10-01-06 12:12 AM
AD:TECH London seeks Affiliate Marketing Experts AD:TECH London The Affiliate Marketing Lounge 19 29-09-05 09:16 AM
seo experts NaturalInstinct The Affiliate Marketing Lounge 4 02-10-03 09:13 PM
Question for the experts... here hare here Affiliate Window 4 20-01-03 10:55 PM


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7