Free Certification Practice Tests and Study Guides
Join Us! | Login | Help




Hey whats the cgi-bin/mailto

 
Post new topic   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     MC MCSE Certification Forums -> Internet
View previous topic :: View next topic  
Author Message
namit
Needs Serious Help
Needs Serious Help


Joined: 07 Nov 2003
Posts: 987
Location: IRE

Post subject: Hey whats the cgi-bin/mailto
Posted: Fri Jun 17, 2005 12:30 pm
Reply with quote

Help others: Review your books and training products here

Just wondering what the story is with cgi-bin/mailto i had a website that worked now i have taken it over on the website and the apllications are not working. Do you know what the story is with this and how do i fix it you fill in the form and then nothing.

http://www.rfc.ie/Jobs/Legal.htm

need help!
_________________
namit website
Back to top
Offline View user's profile Send private message Visit poster's website
drewm320
Moderator
Moderator


Joined: 09 Mar 2004
Posts: 796
Location: Dayton, OH

Post subject:
Posted: Fri Jun 17, 2005 1:05 pm
Reply with quote

Help others: Review your books and training products here

Looks like your program that takes the form data and emails it somewhere doesn't exist or is in a different place.
Back to top
Offline View user's profile Send private message Visit poster's website
namit
Needs Serious Help
Needs Serious Help


Joined: 07 Nov 2003
Posts: 987
Location: IRE

Post subject:
Posted: Fri Jun 17, 2005 1:43 pm
Reply with quote

Help others: Review your books and training products here

how do i remake it?
_________________
namit website
Back to top
Offline View user's profile Send private message Visit poster's website
drewm320
Moderator
Moderator


Joined: 09 Mar 2004
Posts: 796
Location: Dayton, OH

Post subject:
Posted: Fri Jun 17, 2005 2:44 pm
Reply with quote

Help others: Review your books and training products here

Either you find a copy somewhere and restore it (such as from a tape) or you bust out your C++ guide and write a new program from scratch.
Back to top
Offline View user's profile Send private message Visit poster's website
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 8022
Location: Portland, Or

Post subject:
Posted: Sat Jun 18, 2005 5:02 am
Reply with quote

Help others: Review your books and training products here

If the scripts are located in your cgibin, then odds are that they are Perl scripts.. If so, you should read this written by yours truely..
http://www.techtutorials.net/tutorials/programming/perl_errors.shtml
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
namit
Needs Serious Help
Needs Serious Help


Joined: 07 Nov 2003
Posts: 987
Location: IRE

Post subject:
Posted: Tue Jun 21, 2005 3:41 am
Reply with quote

Help others: Review your books and training products here

the code is

Code:
function Apply(ref,title,location){
var a= window.open("","a","width=650,height=450,resizable=yes,status=no,menubar=no,toolbar=no,directories=no,location=no,left=20,top=20");
a.document.writeln("<html>");
a.document.writeln("<head>");
a.document.writeln("<title>RFC Job Application</title>");
a.document.writeln("<script language='javascript' src='../js/validate.js'></script>");
a.document.writeln("<link rel='stylesheet' href='../rfcStyle.css' type='text/css'>");
a.document.writeln("</head>");
a.document.writeln("<body bgcolor='#ffffff' leftMargin='0' topMargin='6' marginheight='0' marginwidth='0'>");
a.document.writeln("<table cellspacing='0' border='2' cellpadding='0' align='center' width='620' bordercolor='#000080'>");
a.document.writeln("  <tr>");
a.document.writeln("    <td class=bar><table width='97%' align='center' cellspacing='0' cellpadding='0' border='0'>");
a.document.writeln("      <tr>");
a.document.writeln("        <td class='banner' nowrap>RFC Recruitment Group</td>");
a.document.writeln("        <td class='banner' nowrap align='right'>Management & Professional Recruitment</td>");
a.document.writeln("      </tr>");
a.document.writeln("    </table>");
a.document.writeln("    </td>");
a.document.writeln("  </tr>");
a.document.writeln("  <tr>");
a.document.writeln("    <td><img src='../images/titleRfc.gif' width='185' height='70'></td>");
a.document.writeln("  </tr>");
a.document.writeln("  <tr>");
a.document.writeln("    <td class=title><img src='../images/imgJobApplication.gif' width='295' height='33'></td>");
a.document.writeln("  </tr>");
a.document.writeln("  <tr>");
a.document.writeln("    <td align='center'><form ACTION='http://www.rfc.ie/cgi-bin/mailto' METHOD='POST' name='AppForm' align='center' onsubmit='return validateform(this)'>");
a.document.writeln("    <input type='hidden' name='addressnumber' value='1'><input type='hidden' name='username' value='######'><input type='hidden' name='goto_url' value='http://www.rfc.ie/Jobs/acknowledge.htm'>");
a.document.writeln("    <table cellspacing='2' cellpadding='2' border='0' width='100%' bgcolor=#ffffff>");
a.document.writeln("      <tr class=content2>");
a.document.writeln("        <td class='heading'>Ref No.</td> ");
a.document.writeln("        <td class='heading'>Job Title</td> ");
a.document.writeln("        <td class='heading'>Location</td> ");
a.document.writeln("      </tr>");
a.document.writeln("      <tr class=content2>");
a.document.writeln("        <td><input name='Job_Reference' value='" + ref + "' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("        <td><input name='Job_____Title' value='" + title + "' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("        <td><input name='Job__Location' value='" + location + "' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td colspan=3 class='title' height=20 valign='center' align='center'>Your Details&nbsp;&nbsp;&nbsp;&nbsp;<font class=content3>(* Required Information)</font></td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td class='heading'><font class='content3'>*</font> Your Name</td>");
a.document.writeln("        <td class='heading'>Email Address </td>");
a.document.writeln("        <td class='heading'>Phone No.</td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td><input name='Cand_FullName' tabindex='1' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("        <td><input name='CandEmailAddr' tabindex='2' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("        <td><input name='CandTelephone' tabindex='3' type='text' size='20' style='width: 180px; height: 22px;'></td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td class='heading'><font class='content3'>*</font> Contact Address</td>");
a.document.writeln("        <td class='heading' colspan='2'>Additional Comments</td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td><textarea name='Cand__Contact' tabindex='4' style='width: 180px;' cols='20' rows='4' wrap='physical'></textarea></td>");
a.document.writeln("        <td colspan='2'><textarea name='Cand_Comments' tabindex='5' rows='4' style='width: 360px;' cols='40'></textarea></td>");
a.document.writeln("      </tr>");
a.document.writeln("      <tr>");
a.document.writeln("        <td colspan='3' align='center' valign='center' height='50'><input type='submit' value=' Send Application ' tabindex='6'></td>");
a.document.writeln("      </tr>");
a.document.writeln("    </table>");
a.document.writeln("    </form>");
a.document.writeln("    </td>");
a.document.writeln("  </tr>");
a.document.writeln("  <tr>");
a.document.writeln("    <td class=bar height='15' align='center'><a class=headlink href='javascript:window.close();'>Close Window</a></td>");
a.document.writeln("  </tr>");
a.document.writeln("</table>");
a.document.writeln("</body>");
a.document.writeln("</html>");
a.document.close();
}


can anyone see why this would not work?
_________________
namit website
Back to top
Offline View user's profile Send private message Visit poster's website
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 8022
Location: Portland, Or

Post subject:
Posted: Tue Jun 21, 2005 4:35 am
Reply with quote

Help others: Review your books and training products here

What is the URL of the page where this script is located?
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
namit
Needs Serious Help
Needs Serious Help


Joined: 07 Nov 2003
Posts: 987
Location: IRE

Post subject:
Posted: Tue Jun 21, 2005 4:38 am
Reply with quote

Help others: Review your books and training products here

http://www.rfc.ie/Jobs/Legal.htm then click apply.
_________________
namit website
Back to top
Offline View user's profile Send private message Visit poster's website
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 8022
Location: Portland, Or

Post subject:
Posted: Tue Jun 21, 2005 7:38 am
Reply with quote

Help others: Review your books and training products here

Hmmm.. not really sure.. I am not a programmer..

It looks like the site is using a js file to create the popup form window. When I click on "apply" my browser status bar gets stuck in "Downloading /js/validate.js" which is a js file called by the popup form. It appears that for some reason, it is unable to load validate.js, but I am not sure.

If I were you, I would post this in a javascript forum where there are more experts with that type of thing than you will find here.
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
namit
Needs Serious Help
Needs Serious Help


Joined: 07 Nov 2003
Posts: 987
Location: IRE

Post subject:
Posted: Tue Jun 21, 2005 8:03 am
Reply with quote

Help others: Review your books and training products here

thanks will do or will just reright in php thanks anyway

namit
_________________
namit website
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     MC MCSE Certification Forums -> Internet All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






IT Showcase