help with php & html

html file with just the form works fine. when I put that form into another html page using same php script does not upload to server.

html file that works:
[php]<!doctype html>

PHP Pdf file Upload

Upload PDF File :



[/php] html file DOES NOT work: [php] Front Range Geriatric Medicine p a { color: #000000; text-decoration:none; } a:hover { color: #749DD2; text-decoration:none; }
<div>

Front Range Geriatrics logo

(970) 449-5122
Fort Collins, CO 80526
email: frgeriatrics.com

<div class="secondary_header" id="menu">
  <ul>
    <li><a href="index.html">&nbsp;&nbsp;HOME</a></li>
    <li><a href="mission.html">&nbsp;&nbsp;MISSION</a></li>
    <li><a href="meet.html">MEET&nbsp;OUR&nbsp;STAFF</a></li>
    <li><a href="np_pa.html">NPs&nbsp;&amp;&nbsp;PAs</a></li>       
    <li><a href="join_email.html">Join Our Team</a></li>
  </ul>
</div>

Physician Openings

<p>Our physicians have flexible hours and visit times set mutually by the provider and the facility. The goal number of patients seen per day is 12-15. There are no required peripheral or ancillary responsibilities and the practice is flexible in accommodating other professional interests which augment the goal of excellent patient care. Nurse practitioner assistance is a likely next step for the practice, and a patient/documentation coordinator helps with daily logistics. The EMR is tailored to this specific population and the documentation demand is comparatively simple and straightforward.</p>
    
<p>Requirements: MD or DO degree, board certification in either internal medicine or family medicine, and preferably some work experience in either the hospital or SNF care setting, though this is not mandatory. Personality fit is critical, as the current group maintains a fun and supportive culture and are looking for like minded additional providers.</p>
    
<p>We offer a full benefits package including; medical, dental, vision, 401K, malpractice, and the support and backing of a large and well-established health system. Salary offers a substantial base with added production which is largely at the discretion of the provider.</p>

<p>Fort Collins and Northern Colorado remain one of the most desirable places to live in the United States, ranking repeatedly among the best places to live and topping numerous lists of best and happiest lifestyle. Public schools are excellent, outdoor activities abound, the university atmosphere is pervasive, and Denver and the mountains are about a one hour drive.</p>
    
	</div> 

<div class="right_article"><img src="images/doctor_patient_holding_hands.gif" width="398" height="200" alt="holding hands" class="placeholder"/>
</div>

Upload CV at this Email email message

Upload PDF File :



©2017 Front Range Geriatric Medicine
[/php]

php file works for both html files above:
[php]<!doctype html>

Untitled Document <?php if ( isset( $_FILES['pdfFile'] ) ) { if ($_FILES['pdfFile']['type'] == "application/pdf") { $source_file = $_FILES['pdfFile']['tmp_name']; $dest_file = "upload/".$_FILES['pdfFile']['name'];
	if (file_exists($dest_file)) {
		print "The file name already exists!!";
	}
	else {
		move_uploaded_file( $source_file, $dest_file )
		or die ("Error!!");
		if($_FILES['pdfFile']['error'] == 0) {
			print "Pdf file uploaded successfully!";
			print "<b><u>Details : </u></b><br/>";
			print "File Name : ".$_FILES['pdfFile']['name']."<br.>"."<br/>";
			print "File Size : ".$_FILES['pdfFile']['size']." bytes"."<br/>";
			print "File location : upload/".$_FILES['pdfFile']['name']."<br/>";
		}
	}
}
else {
	if ( $_FILES['pdfFile']['type'] != "application/pdf") {
		print "Error occured while uploading file : ".$_FILES['pdfFile']['name']."<br/>";
		print "Invalid  file extension, should be pdf !!"."<br/>";
		print "Error Code : ".$_FILES['pdfFile']['error']."<br/>";
	}
}

}
?>

[/php]

Are both html files in the same location?

Check the file name and their type .php not html and check the <?php ?>

Sponsor our Newsletter | Privacy Policy | Terms of Service