Question

PHP Form Not Working

Asked by: jsuissa

Hello,

We now have only one e-mail PHP based form on our site that is not currently working. It contains two forms and we also will post the e-mail script that is working for every other page on our site.

I have attached the entire form below.

Thanks in advance for any help that can be provided.

Best,

Justin

<?php
include 'config.php';
include 'opendb.php';
$groupstop  = "SELECT id, groupname, status FROM groups WHERE status = 1 ORDER BY groupname ASC";
$resulttop = mysql_query($groupstop);
$groups  = "SELECT id, groupname, status FROM groups WHERE status = 1 ORDER BY groupname ASC";
$result1 = mysql_query($groups);
$industries  = "SELECT id, name, short, status FROM industries WHERE status = 1";
$result2 = mysql_query($industries);
$locations  = "SELECT id, city, state, status FROM locations WHERE status = 1";
$result3 = mysql_query($locations);
$industries1  = "SELECT id, name, short FROM industries WHERE status = 1";
$result4 = mysql_query($industries1);
$groupsside  = "SELECT id, groupname, status FROM groups WHERE status = 1 ORDER BY groupname ASC";
$result5 = mysql_query($groupsside);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Abacus Group &#150; Submit A Position</title>
<!-- <script src="rollovers.js" type="text/javascript"></script> -->
<link rel="stylesheet" href="main.css" type="text/css">
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
<script src="SpryAssets/SpryValidationCheckbox.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationCheckbox.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script> 
<link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
</head>
<body>
 
<!-- START of DIV wrapper to center the whole page -->
 
	<div id="wrapper">  
 
	<!-- START of MainTable, this table holds the drop shadows for the outside of the page -->
 
	<table id="maintable">
	<tr>
		<td class="top" colspan="3"><img src="images/shadow_top.jpg" width="811" height="5" alt=""></td>
	</tr>
	<tr>
		<td class="sideleft"><img src="images/spacer.gif" width="5" height="1" alt=""></td>
		<td class="content">
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- START of HEADER TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<table id="headertable">
	<tr>
		<td class="left"><img src="images/logo.jpg" width="580" height="66" alt="Abacus Group Logo"></td>
		<td class="right"><form action="positions.php" method="POST" name="form1"><img src="images/spacer.gif" width="1" height="20" alt=""><br />SEARCH JOBS<br /><img src="images/spacer.gif" width="1" height="3" alt=""><br />
						<select name="top_position_group" class="topsearch">
						<option value="" selected>Select a position group</option>";
					<?php
					while($row = mysql_fetch_array($resulttop))	{
						echo"<option value=\"$row[id]\">$row[groupname]</option>";
						}  ?>
						</select><input type=image align=middle SRC="images/go.gif"><br />&nbsp;<br />
						<a href="submit_position.php" class="topright">SUBMIT POSITION</a>&nbsp;&nbsp;<a href="submit_resume.php" class="topright">SUBMIT RESUME</a></form></td>
	</tr>
	</table>
	<table id="navtable">
	<tr>
		<td class="top"><img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td class="mid"><a href="index.php"><img src="images/nav/nav_01.jpg" width="93" height="33" border="0" alt="Home"></a><a href="about.php"><img src="images/nav/nav_02.jpg" width="114" height="33" border="0" alt="About Us"></a><a href="employers.php"><img src="images/nav/nav_03.jpg" width="124" height="33" border="0" alt="Employers"></a><a href="candidates.php"><img src="images/nav/nav_04.jpg" width="131" height="33" border="0" alt="candidates"></a><a href="positions.php"><img src="images/nav/nav_05.jpg" width="195" height="33" border="0" alt="Current Positions"></a><a href="contact.php"><img src="images/nav/nav_06.jpg" width="144" height="33" border="0" alt="Contact Us"></a></td>
	</tr>
	<tr>
		<td class="bottom"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
	</tr>
	</table>
	<table id="bannertable">
	<tr>
		<td class="top"><img src="images/submit/submit_pic.jpg" width="801" height="90" alt="Submit Pic"></td>
	</tr>
	<tr>
		<td class="mid"><img src="images/submit/submit_title.jpg" width="801" height="34" alt="Submit Title"></td>
	</tr>
	<tr>	
		<td class="bottom" height="107" style="background: url(images/submit/submit_desc_bg.jpg);"><p>Contact the Abacus Group to learn more about  our<br>
		  custom staffing solutions.</p></td>
	</tr>
	</table>
	<!-- START of the main CONTENT TABLE, this table holds the smaller tables that make up the main content window -->
	<table id="contenttable">
	<tr>
		<!-- START the LEFT content the td holds all the stuff in the left column -->
		<td class="left">
			<div> <!--  DIV tag For IE to center the TD Cell --->
			<!-- This table is a smaller table used to hold the boxed info for this column in here are the drop shaddows for this box -->
			<table id="smalllefttable">
			<tr>
				<td class="top" colspan="3"><img src="images/employers/talk_to_sm.jpg" width="211" height="27" alt="Talk To A Representative"></td>
			</tr>
			<tr>
				<td class="leftshadow"></td>
				<td class="content">
					<!-- This is the content inside of the shadowed smaller box -->
					<form action="confirmationt.php" method="POST" class="employers">
					Fill out the form to have a representative from the Abacus Group contact you to discuss your staffing needs.<br />
					&nbsp;<br />
					Tell us about your company.<br />
					Contact Name <span id="sprytextfield1">
					<input type="text" name="name" maxlength="50" value="" style="width: 95px;" class="employers">
					<span class="textfieldRequiredMsg">Contact Name is required.</span></span><br />
					Company <span id="sprytextfield2"><input type="text" name="company" maxlength="50" value="" style="width: 121px;" class="employers">
					<span class="textfieldRequiredMsg">Company is required.</span></span><br />
					Phone <span id="sprytextfield3"><input type="text" name="phone" maxlength="50" value="" style="width: 142px;" class="employers">
					<span class="textfieldRequiredMsg">Phone Number is required.</span></span>
					Email <span id="sprytextfield4"><input type="text" name="email" maxlength="50" value="" style="width: 142px; margin-bottom:10px;" class="employers">
                    <span class="textfieldRequiredMsg">Email is required.</span><span class="textfieldInvalidFormatMsg">Invalid Email format.</span></span><br />
					What position do you need filled&#63;<br />
					<span id="ValidCheckbox1">
					<input type="checkbox" name="permanent" value="permanent"> Permanent<input type="checkbox" name="temporary" value="temporary"> Temporary
					<span class="checkboxRequiredMsg">Please check at least 1.</span></span><br />
						
						<img src="images/spacer.gif" width="1" height="10" alt=""><br />
						<span id="spryselect1" class="selectRequiredValue"><select name="position_group" style="width:175px;" class="employers">
						<option value="-1" selected>Select a position group</option>
						<option value="not listed" >Position Not Listed</option>
									<?php
									while($row = mysql_fetch_array($result1))	{
									echo"<option value=\"$row[groupname]\">$row[groupname]</option>";
									}  ?>
						</select><br><span class="selectInvalidMsg">Please select a Group.</span></span><br />
						<img src="images/spacer.gif" width="1" height="15" alt=""><input type="hidden" name="submit" value="1"><br />
						<p class="submitleft">
						<input type="image" src="images/employers/submit.jpg" class="submit">
						</p>
					</form>
					<!-- End of this smallbox content -->				</td>
				<td class="rightshadow"></td>
			</tr>
			<tr>
				<td class="bottomshadow" colspan="3"><img src="images/leftbox_bottomshadow.gif" width="211" height="8" alt=""></td>
			</tr>
			</table>
			<!-- End of this smallbox -->		
		</div>
		</td>
		<!-- START of the content that goes on the RIGHT side of the main content window -->
		<td class="right">
		<div> <!--  DIV tag For IE to center the TD Cell --->
			<table id="submitpositionbox">
			<tr>
				<td class="top" colspan="3"><img src="images/submit/submit_a.jpg" width="342" height="27" alt="Submit A Position"></td>
			</tr>
			<tr>
				<td class="leftshadow"></td>
				<td class="content" >
					<form action="confirmationt.php" method="POST" enctype="multipart/form-data" class="position">
					Fill out the form below to submit a position you are looking to fill.<br />
					&nbsp;<br />
					Tell us about your company.<br />
					Contact Name <span id="sprytextfield5">
					<input type="text" name="contactname" maxlength="50" value="" style="width: 180px;" class="position">
					<span class="textfieldRequiredMsg">Contact Name is required.</span></span><br />
					Company <span id="sprytextfield6">
					<input type="text" name="companyname" maxlength="50" value="" style="width: 174px;" class="position">
					<span class="textfieldRequiredMsg">Company is required.</span></span><br />
					Phone <span id="sprytextfield7"><input type="text" name="phone1" maxlength="50" value="" style="width: 227px;" class="position">
					<span class="textfieldRequiredMsg">Phone Number is required.</span></span><br />
					Email&nbsp;<span id="sprytextfield8">
                    <input name="email1" type="text" class="position" id="email1" style="width: 227px; margin-bottom:10px;" value="" maxlength="50">
                    <span class="textfieldRequiredMsg">Email is required.</span><span class="textfieldInvalidFormatMsg">Invalid Email format.</span></span><br />
					<img src="images/spacer.gif" width="1" height="10" alt=""><br />
					Tell us about the position.<br />
					<img src="images/spacer.gif" width="1" height="2" alt=""><br />
					<span id="ValidCheckbox2">
					<input type="checkbox" name="permanent" value="permanent"> Permanent&nbsp;&nbsp;&nbsp;<input type="checkbox" name="temporary" value="temporary"> Temporary<br>
					<span class="checkboxRequiredMsg">Please check at least 1.</span></span><br />
					<img src="images/spacer.gif" width="1" height="5" alt=""><br />
					<span id="spryselect2" class="selectRequiredValue"><select name="industry" style="width:245px;" class="position">
						<option value="-1" selected >Select an position group</option>
						<option value="not listed" >Position Not Listed</option>
									<?php
									while($row = mysql_fetch_array($result5))	{
									echo"<option value=\"$row[groupname]\">$row[groupname]</option>";
									}  ?>
						</select><span class="selectInvalidMsg"><br>Please select a Group.</span></span><br /><img src="images/spacer.gif" width="1" height="10" alt=""><br />
					Position Title <span id="sprytextfield9"><input type="text" name="position_title" maxlength="50" value="" style="width: 190px;" class="position">
					<span class="textfieldRequiredMsg">Position Title is required.</span></span><br />
					Salary Range <span id="sprytextfield10"><input type="text" name="salary_range" maxlength="50" value="" style="width: 185px;" class="position">
					<span class="textfieldRequiredMsg">Salary Range is required.</span></span><br />
					<img src="images/spacer.gif" width="1" height="2" alt=""><br />
					Upload job description in a text file, OR copy<br />and paste it into the text box below.<br /><input type="file" name="file1" id="file1" value="" style="width: 265px;" class="position" /><br />
					<img src="images/spacer.gif" width="1" height="10" alt=""><br />
					Describe the position.
						<textarea name="describe_position" style="width:270px; height:100px;" class="position"></textarea>
						<img src="images/spacer.gif" width="1" height="10" alt=""><input type="hidden" name="submitposition" value="1"><br />
						<p class="submitright">
						<input type=image src="images/contact/submit.jpg" border="0" >
						</p>
					</form>
				</td>
				<td class="rightshadow"></td>
			</tr>
			<tr>
				<td class="bottomshadow" colspan="3"><img src="images/leftbox_bottomshadow.gif" width="342" height="8" alt=""></td>
			</tr>
			</table>
			</div>
		</td>
		<!-- End of the LEFT side content -->
	</tr>	
	</table>
	<!-- End of the CONTENT TABLE -->
	<br />
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- START of FOOTER TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<table id="footertable">
	<tr>
		<td class="top" colspan="2"><img src="images/count_on_us.jpg" width="79" height="13" alt="count on us"></td>
	</tr>
	<tr>
		<td class="mid" colspan="2"><hr></td>
	</tr>
	<tr>	
		<td class="bottomleft"><img src="images/spacer.gif" width="1" height="1" alt=""><br /><a href="privacy.html" class="footer">privacy policy</a><img src="images/dots.gif" width="23" height="18" alt="dots" align="middle"><a href="sitemap.html" class="footer">site map</a></td>
		<td class="bottomright"><p>14 penn plaza, suite 1600, new york, new york 10122<br />
		<b><i>telephone</i></b> 212.812.8444 &#149; <b><i>fax</i></b> 212.812.8448 &#149; <a href="mailto:info@abacusnyc.com" class="email">info@abacusnyc.com</a></p></td>
	</tr>
	</table>
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- END of CONTENT TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
 
	<br />
	</td>
	<td class="sideright"></td>
	</tr>
	<tr>
		<td class="top" colspan="3"><img src="images/shadow_bottom.jpg" width="811" height="5" alt=""></td>
	</tr>
	</table>
	<!-- END of MAIN TABLE -->
	</div>
	<!-- END of DIV for wrapper -->	
 
 
    <script type="text/javascript">
<!--
 
var ValidCheckbox1 = new Spry.Widget.ValidationCheckbox("ValidCheckbox1", {minSelections:1});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "phone_number");
var phone = new Spry.Widget.ValidationTextField("phone", "phone_number", {validateOn:["submit"], useCharacterMasking:true});
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "email");
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue:"-1"});
 
var ValidCheckbox2 = new Spry.Widget.ValidationCheckbox("ValidCheckbox2", {minSelections:1});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "phone_number");
var phone1 = new Spry.Widget.ValidationTextField("phone1", "phone_number", {validateOn:["submit"], useCharacterMasking:true});
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "email");
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {invalidValue:"-1"});
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10");
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11");
 
//-->
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5821975-1");
pageTracker._trackPageview();
</script></BODY>
</HTML>
<?php
include 'closedb.php';
?>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-11-05 at 09:35:17ID23878717
Tags

PHP

Topics

PHP Scripting Language

,

PHP and Databases

Participating Experts
2
Points
0
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. php mail() attaching a pdf
    I'm using : $recipient = "$email"; $subject = "PDF"; $message = "some text"; $extra = "From: me@myemail.com"; mail($recipient,$subject,$message,$extra); to send email through php. I've tried everything I could find online regarding at...
  2. PHP mail() and attachments
    How do I include an attachment like 'forms.pdf' using the standard PHP mail().? <?php mail("nobody@example.com", "the subject", $message, "From: webmaster@{$_SERVER['SERVER_NAME']}\r\n" . "Reply-To: webmaster@{$_SERVER['SERVER_...
  3. PHP Sendmail Attachment Issues
    This is a sample of our current e-mail script. There are about 10 forms that use it. Right now the form responses don't go to the correct e-mail box. We need to see if this can be confirmed as a client side issue or if you can fix it. So fo rinstance a form set to go to resum...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jsuissaPosted on 2008-11-05 at 09:37:02ID: 22887744

Below I also posted out actual e-mail script to help diagnose the issue.

<?php
 
session_start();
 
$position = $_SESSION['position_group'];
$search_url = $_SESSION["PositionsSearchURL"];
 
if ($position == "") {
	$position == "none";
}
 
include 'config.php';
include 'opendb.php';
$groupstop  = "SELECT id, groupname, status FROM groups WHERE status = 1 ORDER BY groupname ASC";
$resulttop = mysql_query($groupstop);
$groups  = "SELECT id, groupname, email, status FROM groups WHERE groupname = '$position' AND status = 1";
$result1 = mysql_query($groups);
$industries  = "SELECT id, name, short, status FROM industries WHERE status = 1";
$result2 = mysql_query($industries);
$locations  = "SELECT id, city, state, status FROM locations WHERE status = 1";
$result3 = mysql_query($locations);
 
$rowgroup = mysql_fetch_array($result1);
 
$emailsend = "abacusweb@abacusnyc.com";  //This email will be abacusweb@abacusnyc.com
 
if(mysql_num_rows($result1) == 1) {
	$emailsend = $rowgroup["email"];
}
 
if (isset($_REQUEST['employers'])){
	$pagename = "Page: Employer Page" . "\r\n";
	$subject="Request To Talk To A Representative";
}
 
if (isset($_REQUEST['contact'])){
	$pagename = "Page: Contact Us Page" . "\r\n";
	$subject="Request To Talk To A Representative";
}
 
if (isset($_REQUEST['submit'])){
	$pagename = "Page: Submit Position Page" . "\r\n";
	$subject="Request To Talk To A Representative";
}
 
if (isset($_REQUEST['submitposition'])){
	$pagename = "Page: Submit Position Page" . "\r\n";
	$subject="Position Submittal";
}
 
if (isset($_REQUEST['submitresume'])){
	$pagename = "Page: Submit Resume Page" . "\r\n";
	$subject="Resume Submittal";
	$emailsend = "abacusweb@abacusnyc.com"; //This email will be resumes@abacusnyc.com
}
 
if (isset($_REQUEST['submitapply'])){
	$pagename = "Page: Apply For Position Page" . "\r\n";
	$subject="Application For Position \n\n";
	$search_flag = 1;
 
	$positionhead = "Position Applied For:\r\n";
	$email_title = "Title: " . $_SESSION["title"] . "\r\n";
	$email_date = "Date: " . $_SESSION["date"] . "\r\n";
	$email_industry = "Industry: " .  $_SESSION["industry"] . "\r\n";
	$email_term = "Term: " . $_SESSION["term"] . "\r\n";
	
	if ($_SESSION["category"] == 1) {
	$email_salarylow = "Salary Low: " . $_SESSION["salary_low"]."K". "\r\n";
	$email_salaryhigh = "Salary High: " . $_SESSION["salary_high"]."K". "\r\n";
	$email_bonus = "Bonus Eligible: " . $_SESSION["bonus"] . "\r\n";	
	}
	else {
	$email_salarylow = "";
	$email_salaryhigh = "";
	$email_bonus = "";
	}
	
	if ($_SESSION["category"] == 2) {
	$email_hourlylow = "Hourly Rate Low: " . $_SESSION["hourly_low"]."\HR"."\r\n";
	$email_hourlyhigh = "Hourly Rate High: " . $_SESSION["hourly_high"]. "\HR"."\r\n";
	}
	else {
	$email_hourlylow = "";
	$email_hourlyhigh = "";
	}
 
	$email_city = "City: " . $_SESSION["city"] . "\r\n";
	$email_state = "State: " . $_SESSION["state"] . "\r\n";
	$email_group = "Position Group: " . $_SESSION["position_group"] . "\r\n";
 
}
 
if (!($_REQUEST['name'] == "")){
$name=$_REQUEST['name'];
$nameprint="Name: $name" . "\r\n";
}
else {
$nameprint="";
}
 
if (!($_REQUEST['contactname'] == "")){
$contactname=$_REQUEST['contactname'];
$contactnameprint="Contact Name: $contactname" . "\r\n";
}
else {
$contactnameprint="";
}
 
if (!($_REQUEST['companyname'] == "")){
$companyname=$_REQUEST['companyname'];
$companynameprint="Company Name: $companyname" . "\r\n";
}
else {
$companynameprint="";
}
 
if (!($_REQUEST['company'] == "")){
$company=$_REQUEST['company'];
$companyprint="Company: $company" . "\r\n";
}
else {
$companyprint="";
}
 
if (!($_REQUEST['phone'] == "")){
$phone=$_REQUEST['phone'];
$phoneprint="Phone: $phone" . "\r\n";
}
elseif (!($_REQUEST['phone1'] == "")){
$phone=$_REQUEST['phone1'];
$phoneprint="Phone: $phone" . "\r\n";
}
else {
$phoneprint="";
}
 
if (!($_REQUEST['email'] == "")){
$email=$_REQUEST['email'];
$emailprint="Email: $email" . "\r\n";
}
elseif (!($_REQUEST['email1'] == "")){
$email=$_REQUEST['email1'];
$emailprint="Email: $email" . "\r\n";
}
else {
$emailprint="";
}
 
if (!($_REQUEST['position_group'] == "")){
$position=$_REQUEST['position_group'];
$positionprint="Position: $position" . "\r\n";
}
else {
$positionprint="";
}
 
if (!($_REQUEST['industry'] == "")){
$industry=$_REQUEST['industry'];
$industryprint="Industry: $industry" . "\r\n";
}
else {
$industryprint="";
}
 
if (!($_REQUEST['permanent'] == "") OR !($_REQUEST['temporary'] == "")){
$permanent=$_REQUEST['permanent'];
$temporary=$_REQUEST['temporary'];
$type="$permanent $temporary";
$typeprint="Type: $type" . "\r\n";
}
else {
$typeprint="";
}
 
if (!($_REQUEST['candidate_employer'] == "")){
$candidate_employer=$_REQUEST['candidate_employer'];
$candidate_employerprint="Candidate or Employer: $candidate_employer" . "\r\n";
}
else {
$candidate_employerprint="";
}
 
if (!($_REQUEST['assist'] == "")){
$assist=$_REQUEST['assist'];
$assistprint="How can we assist you: $assist" . "\r\n";
}
else {
$assistprint="";
}
 
if (!($_REQUEST['anythingelse'] == "")){
$anythingelse=$_REQUEST['anythingelse'];
$anythingelseprint="Anything Else: $anythingelse" . "\r\n";
}
else {
$anythingelseprint="";
}
 
if (!($_REQUEST['position_title'] == "")){
$position_title=$_REQUEST['position_title'];
$position_titleprint="Position Title: $position_title" . "\r\n";
}
else {
$position_titleprint="";
}
 
if (!($_REQUEST['salary_range'] == "")){
$salary_range=$_REQUEST['salary_range'];
$salary_rangeprint="Salary Range: $salary_range" . "\r\n";
}
else {
$salary_rangeprint="";
}
 
if (!($_REQUEST['hourly_range'] == "")){
$hourly_range=$_REQUEST['hourly_range'];
$hourly_rangeprint="Hourly Range: $hourly_range" . "\r\n";
}
else {
$hourly_rangeprint="";
}
 
if (!($_REQUEST['describe_position'] == "")){
$describe_position=$_REQUEST['describe_position'];
$describe_positionprint="Describe Position: $describe_position" . "\r\n";
}
else {
$describe_positionprint="";
}
 
if (!($_REQUEST['comments'] == "")){
$comments=$_REQUEST['comments'];
$commentsprint="Comments/Messages: $comments" . "\r\n";
}
else {
$commentsprint="";
}
 
 
if (isset($_FILES["file1"]["name"]) AND !($_FILES["file1"]["name"] == "")){  //IF A FILES IS SUBMITTED THROUGH THE FORM THEN SEND WITH THIS
	
			if ((($_FILES["file1"]["type"] == "application/msword")
			|| ($_FILES["file1"]["type"] == "application/rtf")
			|| ($_FILES["file1"]["type"] == "application/pdf")
			|| ($_FILES["file1"]["type"] == "text/plain"))
			&& ($_FILES["file1"]["size"] < 100000))
			  {
			  if ($_FILES["file1"]["error"] > 0)
				{
				echo "Error: " . $_FILES["file1"]["error"] . "<br />";
				}
			  else
				{
				#$att_server = "attachment/".$_FILES["file1"]["name"];  
				#move_uploaded_file($_FILES["file1"]["tmp_name"], $att_server);
					
				$from = "info@abacusnyc.com";
				$to =  "$emailsend"; 
				$subject = "$subject";
				$message1="$pagename$nameprint$contactnameprint$companyprint$companynameprint$phoneprint$emailprint$positionprint$industryprint$typeprint$candidate_employerprint$assistprint$anythingelseprint$position_titleprint$salary_rangeprint$hourly_rangeprint$describe_positionprint$commentsprint$positionhead$email_title$email_date$email_industry$email_term$email_salarylow$email_salaryhigh$email_bonus$email_hourlylow$email_hourlyhigh$email_city$email_state$email_group";
				#$attachment = "attachment/".$_FILES["file1"]["name"];
				#$fileatt = $attachment; // Path to the file                  
				#$attachment_type = $_FILES["file1"]["type"]; // File Type 
				#$start=	0;
				#$attachment_name = substr(substr($attachment, 11), $start, strlen($attachment)); // Filename that will be used for the file as the 	attachment 
 
				$email_from = $from; // Who the email is from 
				$email_subject =  $subject; // The Subject of the email 
				$email_to = $to; // Who the email is to
 
				
 	// newly added section start-----------------------
				
$attachment = $_FILES['file1']['tmp_name'];
$attachment_name = $_FILES['file1']['name']; 
if (is_uploaded_file($attachment)) { // have a file uploaded?
$fp = fopen($attachment, "rb"); //Open it
$data = fread($fp, filesize($attachment)); //Read it
$data = chunk_split(base64_encode($data)); //Chunk it up and encode it as base64 so it can emailed
fclose($fp);
}
 
$headers  = "From: ABACUS GROUP<info@abacusnyc.com>\r\n";  
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: multipart/related; type=\"multipart/alternative\"; boundary=\"----=MIME_BOUNDRY_main_message\"\n"; 
$headers .= "This is a multi-part message in MIME format.\n";
$headers .= "------=MIME_BOUNDRY_main_message \n"; 
$headers .= "Content-Type: multipart/alternative; boundary=\"----=MIME_BOUNDRY_message_parts\"\n"; 
$message = "------=MIME_BOUNDRY_message_parts\n";
$message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n"; 
$message .= "Content-Transfer-Encoding: quoted-printable\n"; 
$message .= "\n"; 
$message .="".$message1."\n";
$message .= "\n"; 
$message .= "------=MIME_BOUNDRY_message_parts--\n"; 
$message .= "\n"; 
$message .= "------=MIME_BOUNDRY_main_message\n"; 
$message .= "Content-Type: application/octet-stream;\n\tname=\"" . $attachment_name . "\"\n";
$message .= "Content-Transfer-Encoding: base64\n";
$message .= "Content-Disposition: attachment;\n\tfilename=\"" . $attachment_name . "\"\n\n";
$message .= $data; 
$message .= "\n"; 
$message .= "------=MIME_BOUNDRY_main_message--\n"; 
 
	   
	    // newly added section finish----------------------                        
	
				$ok = @mail($email_to, $email_subject, $message, $headers); 
				if($ok) { 
				} 
				else { 
					die("Sorry but the email could not be sent. Please go back and try again!"); 
					} 
				
				$sentfile = "attachment/".$_FILES["file1"]["name"];
				unlink($att_server);
				}
			  }
			else
			  {
			  echo "Invalid file";
			  }
} // END OF EMAIL FUNCTION IF
 
else { //IF NO ATTACHMENT FILE THEN USE THIS EMAIL SEND
			$to = "$emailsend"; 
			$subject = "$subject"; 
			$message1="$pagename$nameprint$contactnameprint$companyprint$companynameprint$phoneprint$emailprint$positionprint$industryprint$typeprint$candidate_employerprint$assistprint$anythingelseprint$position_titleprint$salary_rangeprint$hourly_rangeprint$describe_positionprint$commentsprint$positionhead$email_title$email_date$email_industry$email_term$email_salarylow$email_salaryhigh$email_hourlylow$email_hourlyhigh$email_bonus$email_city$email_state$email_group"; 
			$headers = "From: info@abacusnyc.com" . "\r\n" .
				"Reply-To: $email"; 
			$sent = mail($to, $subject, $message1, $headers) ; 
}
 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Abacus Group &#150; Confirmation Page</title>
<!-- <script src="rollovers.js" type="text/javascript"></script> -->
<link rel="stylesheet" href="main.css" type="text/css">
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAhqj6P2utshbr5ukWrtWfphRPlMQrS4dKyplm8TdAOpAWA7pxfBSEw78KLfAxQWS6pk7ZFSfzyL3v5Q"
      type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(40.751613,-73.99204), 15);
		map.addOverlay(new GMarker(new GLatLng(40.751613,-73.99204)));
      }
    }
    //]]>
</script>
 
</head>
<body onLoad="load()" onUnload="GUnload()">
 
<!-- START of DIV wrapper to center the whole page -->
 
	<div id="wrapper">  
 
	<!-- START of MainTable, this table holds the drop shadows for the outside of the page -->
 
	<table id="maintable">
	<tr>
		<td class="top" colspan="3"><img src="images/shadow_top.jpg" width="811" height="5" alt=""></td>
	</tr>
	<tr>
		<td class="sideleft"><img src="images/spacer.gif" width="5" height="1" alt=""></td>
		<td class="content">
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- START of HEADER TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<table id="headertable">
	<tr>
		<td class="left"><img src="images/logo.jpg" width="580" height="66" alt="Abacus Group Logo"></td>
		<td class="right"><form action="positions.php" method="POST" name="form1"><img src="images/spacer.gif" width="1" height="20" alt=""><br />SEARCH JOBS<br /><img src="images/spacer.gif" width="1" height="3" alt=""><br />
						<select name="top_position_group" class="topsearch">
						<option value="" selected>Select a position/title</option>";
					<?php
					while($row = mysql_fetch_array($resulttop))	{
						echo"<option value=\"$row[id]\">$row[groupname]</option>";
						}  ?>
						</select><input type=image align=middle SRC="images/go.gif"><br />&nbsp;<br />
						<a href="submit_position.php" class="topright">SUBMIT POSITION</a>&nbsp;&nbsp;<a href="submit_resume.php" class="topright">SUBMIT RESUME</a></form></td>
	</tr>
	</table>
	<table id="navtable">
	<tr>
		<td class="top"><img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td class="mid"><a href="index.php"><img src="images/nav/nav_01.jpg" width="93" height="33" border="0" alt="Home"></a><a href="about.php"><img src="images/nav/nav_02.jpg" width="114" height="33" border="0" alt="About Us"></a><a href="employers.php"><img src="images/nav/nav_03.jpg" width="124" height="33" border="0" alt="Employers"></a><a href="candidates.php"><img src="images/nav/nav_04.jpg" width="131" height="33" border="0" alt="candidates"></a><a href="positions.php"><img src="images/nav/nav_05.jpg" width="195" height="33" border="0" alt="Current Positions"></a><a href="contact.php"><img src="images/nav/nav_06.jpg" width="144" height="33" border="0" alt="Contact Us"></a></td>
	</tr>
	<tr>
		<td class="bottom"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
	</tr>
	</table>
	<table id="bannertable">
	<?php 
	if (isset($_REQUEST['submitposition'])){
		echo "<tr><td class=\"top\"><img src=\"images/submit/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Submit Position Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/submit/submit_title.jpg\" width=\"801\" height=\"35\" alt=\"Submit Position Title\"></td></tr>";
		$background = "images/submit/submit_desc_bg.jpg";
	}
	elseif (isset($_REQUEST['submitresume'])){
		echo "<tr><td class=\"top\"><img src=\"images/resume/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Submit Resume Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/resume/submit_title.jpg\" width=\"801\" height=\"35\" alt=\"Submit Resume\"></td></tr>";
		$background = "images/resume/submit_desc_bg.jpg";
	}
	elseif (isset($_REQUEST['submitapply'])){
		echo "<tr><td class=\"top\"><img src=\"images/apply/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Apply Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/apply/apply_title.jpg\" width=\"801\" height=\"35\" alt=\"Apply Title\"></td></tr>";
		$background = "images/resume/submit_desc_bg.jpg";
	}
	else {
		echo "<tr><td class=\"top\"><img src=\"images/contact/contact_pic.jpg\" width=\"801\" height=\"90\" alt=\"Contact Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/contact/contact_title.jpg\" width=\"801\" height=\"35\" alt=\"Contact Title\"></td></tr>";
		$background = "images/contact/contact_desc_bg.jpg";
	}
	?>
	
	<tr>	
		<td class="bottom" height="107" style="background: url(<?php echo "$background"; ?>);"><p>Please feel free to contact one of our consultants about your career search or staffing needs. </p></td>
	</tr>
	</table>
	<!-- START of the main CONTENT TABLE, this table holds the smaller tables that make up the main content window -->
	<table id="contenttable">
	<tr>
		<!-- START the LEFT content the td holds all the stuff in the left column -->
		<td class="left">
			<div> <!--  DIV tag For IE to center the TD Cell --->
			<!-- This table is a smaller table used to hold the boxed info for this column in here are the drop shaddows for this box -->
			<p class="contact">
             <span class="abacus">THE ABACUS GROUP</span><br />
			 14 Penn Plaza, Suite 1600<br />
			 New York, NY 10122<br />
			 &nbsp;<br />
			 <b>phone </b>212.812.8444<br />
			 <b>fax </b>212.812.8448<br />
			 <b>e-mail </b><a href="mailto:info@abacusnyc.com" class="contact">info@abacusnyc.com</a></p>
			 <div id="map" style="width: 211px; height: 145px; margin: 0 38px 0 38px;"></div>
			 <p class="map"><a href="http://maps.google.com/maps?q=14+Penn+Plaza,+New+York,+NY+10001,+USA&sa=X&oi=map&ct=title" target="_blank" class="map">Map & Driving Directions</a></p>
			
			<!-- End of this smallbox -->
			</div>
		</td>
		<!-- START of the content that goes on the LEFT side of the main content window -->
		<td class="right">
		<h1>THANK YOU</h1>
		<p class="text">
		<?php 
		if($sent OR $ok) 
			{print "Your email was sent successfully"; }
		else 
			{print "We encountered an error sending your mail"; }
		?>
		<?php if($search_flag == 1){ 
		echo "<br />&nbsp;<br />";
		echo "<a href=\"$search_url\" class=\"positionheader\">back to search results &#62;&#62;</a>";
		}?>
		</p>
		</td>
		<!-- End of the LEFT side content -->
	</tr>	
	</table>
	<!-- End of the CONTENT TABLE -->
	<br />
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- START of FOOTER TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<table id="footertable">
	<tr>
		<td class="top" colspan="2"><img src="images/count_on_us.jpg" width="79" height="13" alt="count on us"></td>
	</tr>
	<tr>
		<td class="mid" colspan="2"><hr></td>
	</tr>
	<tr>	
		<td class="bottomleft"><img src="images/spacer.gif" width="1" height="1" alt=""><br /><a href="privacy.html" class="footer">privacy policy</a><img src="images/dots.gif" width="23" height="18" alt="dots" align="middle"><a href="sitemap.html" class="footer">site map</a></td>
		<td class="bottomright"><p>14 penn plaza, suite 1600, new york, new york 10122<br />
		<b><i>telephone</i></b> 212.812.8444 &#149; <b><i>fax</i></b> 212.812.8448 &#149; <a href="mailto:info@abacusnyc.com" class="email">info@abacusnyc.com</a></p></td>
	</tr>
	</table>
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
	<!-- END of CONTENT TABLE -->
	<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
 
	<br />
	</td>
	<td class="sideright"></td>
	</tr>
	<tr>
		<td class="top" colspan="3"><img src="images/shadow_bottom.jpg" width="811" height="5" alt=""></td>
	</tr>
	</table>
	<!-- END of MAIN TABLE -->
	</div>
	<!-- END of DIV for wrapper -->	
 
 
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5821975-1");
pageTracker._trackPageview();
</script></BODY>
</HTML>
<?php
include 'closedb.php';
?> 

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:

Select allOpen in new window

 

by: hieloPosted on 2008-11-05 at 09:40:48ID: 22887787

>> that is not currently working.
elaborate.

 

by: hieloPosted on 2008-11-05 at 09:41:41ID: 22887805

not emailing? Not querying the db? emailing but data is blank? Sending data from form but not from db? not saving data to db?...

 

by: jsuissaPosted on 2008-11-05 at 09:53:11ID: 22887944

Hi,

Just to add more informration regarding the problem. It does confirm that the e-mail went through online, but it dosen't actually send an e-mail. All the other forms on the site send the e-mail with the correct form fields in the body of the e-mail.

Best,

Justin

 

by: jsuissaPosted on 2008-11-05 at 12:10:27ID: 22889231

One other piece of information to add is that we solved part of the issue with already -- the second form is submitted to confirmationt.php and the name of the file should be confirmation.php. Still no luck though.

 

by: brucepietersePosted on 2008-11-05 at 13:02:48ID: 22889882

Hi Jsuissa,

Could you post confirmation.php as well?

Thanks

 

by: jsuissaPosted on 2009-02-20 at 05:35:47ID: 23691615

<?php

session_start();

$position = $_SESSION['position_group'];
$search_url = $_SESSION["PositionsSearchURL"];

if ($position == "") {
      $position == "none";
}

include 'config.php';
include 'opendb.php';
$groupstop  = "SELECT id, groupname, status FROM groups WHERE status = 1 ORDER BY groupname ASC";
$resulttop = mysql_query($groupstop);
$groups  = "SELECT id, groupname, email, status FROM groups WHERE groupname = '$position' AND status = 1";
$result1 = mysql_query($groups);
$industries  = "SELECT id, name, short, status FROM industries WHERE status = 1";
$result2 = mysql_query($industries);
$locations  = "SELECT id, city, state, status FROM locations WHERE status = 1";
$result3 = mysql_query($locations);

$rowgroup = mysql_fetch_array($result1);

$emailsend = "abacusweb@abacusnyc.com";  //This email will be abacusweb@abacusnyc.com

if(mysql_num_rows($result1) == 1) {
      $emailsend = $rowgroup["email"];
}

if (isset($_REQUEST['employers'])){
      $pagename = "Page: Employer Page" . "\r\n";
      $subject="Request To Talk To A Representative";
}

if (isset($_REQUEST['contact'])){
      $pagename = "Page: Contact Us Page" . "\r\n";
      $subject="Request To Talk To A Representative";
}

if (isset($_REQUEST['submit'])){
      $pagename = "Page: Submit Position Page" . "\r\n";
      $subject="Request To Talk To A Representative";
}

if (isset($_REQUEST['submitposition'])){
      $pagename = "Page: Submit Position Page" . "\r\n";
      $subject="Position Submittal";
}

if (isset($_REQUEST['submitresume'])){
      $pagename = "Page: Submit Resume Page" . "\r\n";
      $subject="Resume Submittal";
      $emailsend = "abacusweb@abacusnyc.com"; //This email will be resumes@abacusnyc.com
}

if (isset($_REQUEST['submitapply'])){
      $pagename = "Page: Apply For Position Page" . "\r\n";
      $subject="Application For Position \n\n";
      $search_flag = 1;

      $positionhead = "Position Applied For:\r\n";
      $email_title = "Title: " . $_SESSION["title"] . "\r\n";
      $email_date = "Date: " . $_SESSION["date"] . "\r\n";
      $email_industry = "Industry: " .  $_SESSION["industry"] . "\r\n";
      $email_term = "Term: " . $_SESSION["term"] . "\r\n";
      
      if ($_SESSION["category"] == 1) {
      $email_salarylow = "Salary Low: " . $_SESSION["salary_low"]."K". "\r\n";
      $email_salaryhigh = "Salary High: " . $_SESSION["salary_high"]."K". "\r\n";
      $email_bonus = "Bonus Eligible: " . $_SESSION["bonus"] . "\r\n";      
      }
      else {
      $email_salarylow = "";
      $email_salaryhigh = "";
      $email_bonus = "";
      }
      
      if ($_SESSION["category"] == 2) {
      $email_hourlylow = "Hourly Rate Low: " . $_SESSION["hourly_low"]."\HR"."\r\n";
      $email_hourlyhigh = "Hourly Rate High: " . $_SESSION["hourly_high"]. "\HR"."\r\n";
      }
      else {
      $email_hourlylow = "";
      $email_hourlyhigh = "";
      }

      $email_city = "City: " . $_SESSION["city"] . "\r\n";
      $email_state = "State: " . $_SESSION["state"] . "\r\n";
      $email_group = "Position Group: " . $_SESSION["position_group"] . "\r\n";

}

if (!($_REQUEST['name'] == "")){
$name=$_REQUEST['name'];
$nameprint="Name: $name" . "\r\n";
}
else {
$nameprint="";
}

if (!($_REQUEST['contactname'] == "")){
$contactname=$_REQUEST['contactname'];
$contactnameprint="Contact Name: $contactname" . "\r\n";
}
else {
$contactnameprint="";
}

if (!($_REQUEST['companyname'] == "")){
$companyname=$_REQUEST['companyname'];
$companynameprint="Company Name: $companyname" . "\r\n";
}
else {
$companynameprint="";
}

if (!($_REQUEST['company'] == "")){
$company=$_REQUEST['company'];
$companyprint="Company: $company" . "\r\n";
}
else {
$companyprint="";
}

if (!($_REQUEST['phone'] == "")){
$phone=$_REQUEST['phone'];
$phoneprint="Phone: $phone" . "\r\n";
}
elseif (!($_REQUEST['phone1'] == "")){
$phone=$_REQUEST['phone1'];
$phoneprint="Phone: $phone" . "\r\n";
}
else {
$phoneprint="";
}

if (!($_REQUEST['email'] == "")){
$email=$_REQUEST['email'];
$emailprint="Email: $email" . "\r\n";
}
elseif (!($_REQUEST['email1'] == "")){
$email=$_REQUEST['email1'];
$emailprint="Email: $email" . "\r\n";
}
else {
$emailprint="";
}

if (!($_REQUEST['position_group'] == "")){
$position=$_REQUEST['position_group'];
$positionprint="Position: $position" . "\r\n";
}
else {
$positionprint="";
}

if (!($_REQUEST['industry'] == "")){
$industry=$_REQUEST['industry'];
$industryprint="Industry: $industry" . "\r\n";
}
else {
$industryprint="";
}

if (!($_REQUEST['permanent'] == "") OR !($_REQUEST['temporary'] == "")){
$permanent=$_REQUEST['permanent'];
$temporary=$_REQUEST['temporary'];
$type="$permanent $temporary";
$typeprint="Type: $type" . "\r\n";
}
else {
$typeprint="";
}

if (!($_REQUEST['candidate_employer'] == "")){
$candidate_employer=$_REQUEST['candidate_employer'];
$candidate_employerprint="Candidate or Employer: $candidate_employer" . "\r\n";
}
else {
$candidate_employerprint="";
}

if (!($_REQUEST['assist'] == "")){
$assist=$_REQUEST['assist'];
$assistprint="How can we assist you: $assist" . "\r\n";
}
else {
$assistprint="";
}

if (!($_REQUEST['anythingelse'] == "")){
$anythingelse=$_REQUEST['anythingelse'];
$anythingelseprint="Anything Else: $anythingelse" . "\r\n";
}
else {
$anythingelseprint="";
}

if (!($_REQUEST['position_title'] == "")){
$position_title=$_REQUEST['position_title'];
$position_titleprint="Position Title: $position_title" . "\r\n";
}
else {
$position_titleprint="";
}

if (!($_REQUEST['salary_range'] == "")){
$salary_range=$_REQUEST['salary_range'];
$salary_rangeprint="Salary Range: $salary_range" . "\r\n";
}
else {
$salary_rangeprint="";
}

if (!($_REQUEST['hourly_range'] == "")){
$hourly_range=$_REQUEST['hourly_range'];
$hourly_rangeprint="Hourly Range: $hourly_range" . "\r\n";
}
else {
$hourly_rangeprint="";
}

if (!($_REQUEST['describe_position'] == "")){
$describe_position=$_REQUEST['describe_position'];
$describe_positionprint="Describe Position: $describe_position" . "\r\n";
}
else {
$describe_positionprint="";
}

if (!($_REQUEST['comments'] == "")){
$comments=$_REQUEST['comments'];
$commentsprint="Comments/Messages: $comments" . "\r\n";
}
else {
$commentsprint="";
}


if (isset($_FILES["file1"]["name"]) AND !($_FILES["file1"]["name"] == "")){  //IF A FILES IS SUBMITTED THROUGH THE FORM THEN SEND WITH THIS
      
                  if ((($_FILES["file1"]["type"] == "application/msword")
                  || ($_FILES["file1"]["type"] == "application/rtf")
                  || ($_FILES["file1"]["type"] == "application/pdf")
                  || ($_FILES["file1"]["type"] == "text/plain"))
                  && ($_FILES["file1"]["size"] < 100000))
                    {
                    if ($_FILES["file1"]["error"] > 0)
                        {
                        echo "Error: " . $_FILES["file1"]["error"] . "<br />";
                        }
                    else
                        {
                        #$att_server = "attachment/".$_FILES["file1"]["name"];  
                        #move_uploaded_file($_FILES["file1"]["tmp_name"], $att_server);
                              
                        $from = "info@abacusnyc.com";
                        $to =  "$emailsend";
                        $subject = "$subject";
                        $message1="$pagename$nameprint$contactnameprint$companyprint$companynameprint$phoneprint$emailprint$positionprint$industryprint$typeprint$candidate_employerprint$assistprint$anythingelseprint$position_titleprint$salary_rangeprint$hourly_rangeprint$describe_positionprint$commentsprint$positionhead$email_title$email_date$email_industry$email_term$email_salarylow$email_salaryhigh$email_bonus$email_hourlylow$email_hourlyhigh$email_city$email_state$email_group";
                        #$attachment = "attachment/".$_FILES["file1"]["name"];
                        #$fileatt = $attachment; // Path to the file                  
                        #$attachment_type = $_FILES["file1"]["type"]; // File Type
                        #$start=      0;
                        #$attachment_name = substr(substr($attachment, 11), $start, strlen($attachment)); // Filename that will be used for the file as the       attachment

                        $email_from = $from; // Who the email is from
                        $email_subject =  $subject; // The Subject of the email
                        $email_to = $to; // Who the email is to
 
                        
       // newly added section start-----------------------
                        
$attachment = $_FILES['file1']['tmp_name'];
$attachment_name = $_FILES['file1']['name'];
if (is_uploaded_file($attachment)) { // have a file uploaded?
$fp = fopen($attachment, "rb"); //Open it
$data = fread($fp, filesize($attachment)); //Read it
$data = chunk_split(base64_encode($data)); //Chunk it up and encode it as base64 so it can emailed
fclose($fp);
}

$headers  = "From: ABACUS GROUP<info@abacusnyc.com>\r\n";  
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: multipart/related; type=\"multipart/alternative\"; boundary=\"----=MIME_BOUNDRY_main_message\"\n";
$headers .= "This is a multi-part message in MIME format.\n";
$headers .= "------=MIME_BOUNDRY_main_message \n";
$headers .= "Content-Type: multipart/alternative; boundary=\"----=MIME_BOUNDRY_message_parts\"\n";
$message = "------=MIME_BOUNDRY_message_parts\n";
$message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n";
$message .= "Content-Transfer-Encoding: quoted-printable\n";
$message .= "\n";
$message .="".$message1."\n";
$message .= "\n";
$message .= "------=MIME_BOUNDRY_message_parts--\n";
$message .= "\n";
$message .= "------=MIME_BOUNDRY_main_message\n";
$message .= "Content-Type: application/octet-stream;\n\tname=\"" . $attachment_name . "\"\n";
$message .= "Content-Transfer-Encoding: base64\n";
$message .= "Content-Disposition: attachment;\n\tfilename=\"" . $attachment_name . "\"\n\n";
$message .= $data;
$message .= "\n";
$message .= "------=MIME_BOUNDRY_main_message--\n";

        
          // newly added section finish----------------------                        
      
                        $ok = @mail($email_to, $email_subject, $message, $headers);
                        if($ok) {
                        }
                        else {
                              die("Sorry but the email could not be sent. Please go back and try again!");
                              }
                        
                        $sentfile = "attachment/".$_FILES["file1"]["name"];
                        unlink($att_server);
                        }
                    }
                  else
                    {
                    echo "Invalid file";
                    }
} // END OF EMAIL FUNCTION IF

else { //IF NO ATTACHMENT FILE THEN USE THIS EMAIL SEND
                  $to = "$emailsend";
                  $subject = "$subject";
                  $message1="$pagename$nameprint$contactnameprint$companyprint$companynameprint$phoneprint$emailprint$positionprint$industryprint$typeprint$candidate_employerprint$assistprint$anythingelseprint$position_titleprint$salary_rangeprint$hourly_rangeprint$describe_positionprint$commentsprint$positionhead$email_title$email_date$email_industry$email_term$email_salarylow$email_salaryhigh$email_hourlylow$email_hourlyhigh$email_bonus$email_city$email_state$email_group";
                  $headers = "From: info@abacusnyc.com" . "\r\n" .
                        "Reply-To: $email";
                  $sent = mail($to, $subject, $message1, $headers) ;
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Abacus Group &#150; Confirmation Page</title>
<!-- <script src="rollovers.js" type="text/javascript"></script> -->
<link rel="stylesheet" href="main.css" type="text/css">
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAhqj6P2utshbr5ukWrtWfphRPlMQrS4dKyplm8TdAOpAWA7pxfBSEw78KLfAxQWS6pk7ZFSfzyL3v5Q"
      type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(40.751613,-73.99204), 15);
            map.addOverlay(new GMarker(new GLatLng(40.751613,-73.99204)));
      }
    }
    //]]>
</script>

</head>
<body onLoad="load()" onUnload="GUnload()">

<!-- START of DIV wrapper to center the whole page -->

      <div id="wrapper">  

      <!-- START of MainTable, this table holds the drop shadows for the outside of the page -->

      <table id="maintable">
      <tr>
            <td class="top" colspan="3"><img src="images/shadow_top.jpg" width="811" height="5" alt=""></td>
      </tr>
      <tr>
            <td class="sideleft"><img src="images/spacer.gif" width="5" height="1" alt=""></td>
            <td class="content">
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
      <!-- START of HEADER TABLE -->
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
      <table id="headertable">
      <tr>
            <td class="left"><img src="images/logo.jpg" width="580" height="66" alt="Abacus Group Logo"></td>
            <td class="right"><form action="positions.php" method="POST" name="form1"><img src="images/spacer.gif" width="1" height="20" alt=""><br />SEARCH JOBS<br /><img src="images/spacer.gif" width="1" height="3" alt=""><br />
                                    <select name="top_position_group" class="topsearch">
                                    <option value="" selected>Select a position/title</option>";
                              <?php
                              while($row = mysql_fetch_array($resulttop))      {
                                    echo"<option value=\"$row[id]\">$row[groupname]</option>";
                                    }  ?>
                                    </select><input type=image align=middle SRC="images/go.gif"><br />&nbsp;<br />
                                    <a href="submit_position.php" class="topright">SUBMIT POSITION</a>&nbsp;&nbsp;<a href="submit_resume.php" class="topright">SUBMIT RESUME</a></form></td>
      </tr>
      </table>
      <table id="navtable">
      <tr>
            <td class="top"><img src="images/spacer.gif" width="1" height="1" alt=""></td>
      </tr>
      <tr>
            <td class="mid"><a href="index.php"><img src="images/nav/nav_01.jpg" width="93" height="33" border="0" alt="Home"></a><a href="about.php"><img src="images/nav/nav_02.jpg" width="114" height="33" border="0" alt="About Us"></a><a href="employers.php"><img src="images/nav/nav_03.jpg" width="124" height="33" border="0" alt="Employers"></a><a href="candidates.php"><img src="images/nav/nav_04.jpg" width="131" height="33" border="0" alt="candidates"></a><a href="positions.php"><img src="images/nav/nav_05.jpg" width="195" height="33" border="0" alt="Current Positions"></a><a href="contact.php"><img src="images/nav/nav_06.jpg" width="144" height="33" border="0" alt="Contact Us"></a></td>
      </tr>
      <tr>
            <td class="bottom"><img src="images/spacer.gif" width="1" height="3" alt=""></td>
      </tr>
      </table>
      <table id="bannertable">
      <?php
      if (isset($_REQUEST['submitposition'])){
            echo "<tr><td class=\"top\"><img src=\"images/submit/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Submit Position Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/submit/submit_title.jpg\" width=\"801\" height=\"35\" alt=\"Submit Position Title\"></td></tr>";
            $background = "images/submit/submit_desc_bg.jpg";
      }
      elseif (isset($_REQUEST['submitresume'])){
            echo "<tr><td class=\"top\"><img src=\"images/resume/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Submit Resume Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/resume/submit_title.jpg\" width=\"801\" height=\"35\" alt=\"Submit Resume\"></td></tr>";
            $background = "images/resume/submit_desc_bg.jpg";
      }
      elseif (isset($_REQUEST['submitapply'])){
            echo "<tr><td class=\"top\"><img src=\"images/apply/submit_pic.jpg\" width=\"801\" height=\"90\" alt=\"Apply Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/apply/apply_title.jpg\" width=\"801\" height=\"35\" alt=\"Apply Title\"></td></tr>";
            $background = "images/resume/submit_desc_bg.jpg";
      }
      else {
            echo "<tr><td class=\"top\"><img src=\"images/contact/contact_pic.jpg\" width=\"801\" height=\"90\" alt=\"Contact Pic\"></td></tr><tr><td class=\"mid\"><img src=\"images/contact/contact_title.jpg\" width=\"801\" height=\"35\" alt=\"Contact Title\"></td></tr>";
            $background = "images/contact/contact_desc_bg.jpg";
      }
      ?>
      
      <tr>      
            <td class="bottom" height="107" style="background: url(<?php echo "$background"; ?>);"><p>Please feel free to contact one of our consultants about your career search or staffing needs. </p></td>
      </tr>
      </table>
      <!-- START of the main CONTENT TABLE, this table holds the smaller tables that make up the main content window -->
      <table id="contenttable">
      <tr>
            <!-- START the LEFT content the td holds all the stuff in the left column -->
            <td class="left">
                  <div> <!--  DIV tag For IE to center the TD Cell --->
                  <!-- This table is a smaller table used to hold the boxed info for this column in here are the drop shaddows for this box -->
                  <p class="contact">
             <span class="abacus">THE ABACUS GROUP</span><br />
                   14 Penn Plaza, Suite 1600<br />
                   New York, NY 10122<br />
                   &nbsp;<br />
                   <b>phone </b>212.812.8444<br />
                   <b>fax </b>212.812.8448<br />
                   <b>e-mail </b><a href="mailto:info@abacusnyc.com" class="contact">info@abacusnyc.com</a></p>
                   <div id="map" style="width: 211px; height: 145px; margin: 0 38px 0 38px;"></div>
                   <p class="map"><a href="http://maps.google.com/maps?q=14+Penn+Plaza,+New+York,+NY+10001,+USA&sa=X&oi=map&ct=title" target="_blank" class="map">Map & Driving Directions</a></p>
                  
                  <!-- End of this smallbox -->
                  </div>
            </td>
            <!-- START of the content that goes on the LEFT side of the main content window -->
            <td class="right">
            <h1>THANK YOU</h1>
            <p class="text">
            <?php
            if($sent OR $ok)
                  {print "Your email was sent successfully"; }
            else
                  {print "We encountered an error sending your mail"; }
            ?>
            <?php if($search_flag == 1){
            echo "<br />&nbsp;<br />";
            echo "<a href=\"$search_url\" class=\"positionheader\">back to search results &#62;&#62;</a>";
            }?>
            </p>
            </td>
            <!-- End of the LEFT side content -->
      </tr>      
      </table>
      <!-- End of the CONTENT TABLE -->
      <br />
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
      <!-- START of FOOTER TABLE -->
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
      <table id="footertable">
      <tr>
            <td class="top" colspan="2"><img src="images/count_on_us.jpg" width="79" height="13" alt="count on us"></td>
      </tr>
      <tr>
            <td class="mid" colspan="2"><hr></td>
      </tr>
      <tr>      
            <td class="bottomleft"><img src="images/spacer.gif" width="1" height="1" alt=""><br /><a href="privacy.html" class="footer">privacy policy</a><img src="images/dots.gif" width="23" height="18" alt="dots" align="middle"><a href="sitemap.html" class="footer">site map</a></td>
            <td class="bottomright"><p>14 penn plaza, suite 1600, new york, new york 10122<br />
            <b><i>telephone</i></b> 212.812.8444 &#149; <b><i>fax</i></b> 212.812.8448 &#149; <a href="mailto:info@abacusnyc.com" class="email">info@abacusnyc.com</a></p></td>
      </tr>
      </table>
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->
      <!-- END of CONTENT TABLE -->
      <!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -->

      <br />
      </td>
      <td class="sideright"></td>
      </tr>
      <tr>
            <td class="top" colspan="3"><img src="images/shadow_bottom.jpg" width="811" height="5" alt=""></td>
      </tr>
      </table>
      <!-- END of MAIN TABLE -->
      </div>
      <!-- END of DIV for wrapper -->      


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5821975-1");
pageTracker._trackPageview();
</script></BODY>
</HTML>
<?php
include 'closedb.php';
?>

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...