View previous topic :: View next topic
Author
Message
namit Needs Serious Help Joined: 07 Nov 2003 Posts: 987 Location: IRE
Post subject: Hey whats the cgi-bin/mailtoPosted: Fri Jun 17, 2005 12:30 pm
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
drewm320 Moderator Joined: 09 Mar 2004 Posts: 796 Location: Dayton, OH
Post subject: Posted: Fri Jun 17, 2005 1:05 pm
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
namit Needs Serious Help Joined: 07 Nov 2003 Posts: 987 Location: IRE
Post subject: Posted: Fri Jun 17, 2005 1:43 pm
Help others: Review your books and training products here
how do i remake it? _________________namit website
Back to top
drewm320 Moderator Joined: 09 Mar 2004 Posts: 796 Location: Dayton, OH
Post subject: Posted: Fri Jun 17, 2005 2:44 pm
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
jsprague Site Admin Joined: 18 Sep 2001 Posts: 7978 Location: Portland, Or
Back to top
namit Needs Serious Help Joined: 07 Nov 2003 Posts: 987 Location: IRE
Post subject: Posted: Tue Jun 21, 2005 3:41 am
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 <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
jsprague Site Admin Joined: 18 Sep 2001 Posts: 7978 Location: Portland, Or
Post subject: Posted: Tue Jun 21, 2005 4:35 am
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
namit Needs Serious Help Joined: 07 Nov 2003 Posts: 987 Location: IRE
Back to top
jsprague Site Admin Joined: 18 Sep 2001 Posts: 7978 Location: Portland, Or
Post subject: Posted: Tue Jun 21, 2005 7:38 am
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
namit Needs Serious Help Joined: 07 Nov 2003 Posts: 987 Location: IRE
Post subject: Posted: Tue Jun 21, 2005 8:03 am
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
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 Certification Training
Expert-led On-Demand IT training with 7x24 LIVE Mentoring. Topics cover MCITP Training , A+ Certification , IT Security, CEH, CHFI Training , CCNA Training and many more.
Training Videos
We offer streaming or CD certification training videos for Microsoft, CompTIA, Cisco, Citrix, Oracle, CISSP, CET, CWNA, LPI, SCJP, CIW, MOS, PMP and other certifications. View our free videos!
EDULEARN
Certification Training Online on Videos: Microsoft MCSE Training , A+ Certification , MCITP, & Free demos. MCSE certification training includes simulators and labs.
K Alliance Training Videos by K Alliance. Certification training videos for MCTS, MCITP, Oracle OCA/OCP, A+, CCNA, RHCE and more. Our e-learning courses come with 24/7 online mentoring. Click Here to view our free online training videos.
More Training