Posted: 30. October 2007 07:55
I did spot a few problems in the header of the above code snippet that may be contributing to your problem, that if you add the piece of php code in a reply above, to the very top of the page and above all else and rename the file with a .php extension and call it in your browser (http://localhost/whatever.php) it might confirm or not these problems are causing your issue.
If it displays the I'm here! statement in your browser then php is working fine.
Then you need to make these two changes to the header tags and try the page again minus the added php code snippet.
To this - Just a missing quotation mark "
Also, you may want to edit this tag <html xmlns="http://www.w3.org/1999/xhtml"> to just <html> - it is not need in your code and the html won't W3C validate if you use it.
You would need to rectify these errors in all your sites pages that are faulty.
You may, if you wish use this method to test your other php pages that won't load properly also.
In your first code snippet posted above this is not a good idea to have in the head section and should be deleted
These links describe the comment tag which is wrapped around the similar looking entry below it in the body section:
http://www.w3schools.com/tags/tag_comment.asp
http://htmlhelp.com/reference/wilbur/misc/comment.html
This at the end of the same code snippet is also incorrect but should not impact on your original issue:
Good luck, I have my fingers crossed
===========================================
1. The new DeskTopXampp launch control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site
2. Make Richer Ajax Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
<?php die('I\'m here!'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="description" content="Cecil's Fine Jewelry">
<meta name="keywords" content="Cecil's, Cecils, Cecil's Fine Jewelry, Cecils Fine Jewelry, Cecil's Jewelry, Cecils Jewelry,
Cecil's Little Rock, Cecil's Arkansas, Jewelry, Little Rock, Little Rock Jewelry, Arkansas Jewelry,
Diamond, Diamonds, Ruby, Rubies, Rubys, Saphire, Saphires, Emerald, Emeralds, gemstones,
colored gemstones, birthstones, repair, jewelry repair">
<title>Jim Dickerson's Registration Form Edit</title>
<!-- <base target="new"/> -->
</head>
<body>
<p>Email Message to Jim Successfully Sent!</p>
<br>
<br>
<span class="scripttext2">
" Thank You !!!"
</span>
<br>
<h4>
<a href="#" onclick="window.opener=null; window.close(); return false">Close Window</a>
</h4>
</body>
</html>
If it displays the I'm here! statement in your browser then php is working fine.
Then you need to make these two changes to the header tags and try the page again minus the added php code snippet.
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
To this - Just a missing quotation mark "
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Also, you may want to edit this tag <html xmlns="http://www.w3.org/1999/xhtml"> to just <html> - it is not need in your code and the html won't W3C validate if you use it.
You would need to rectify these errors in all your sites pages that are faulty.
You may, if you wish use this method to test your other php pages that won't load properly also.
In your first code snippet posted above this is not a good idea to have in the head section and should be deleted
- Code: Select all
*************************************************
These links describe the comment tag which is wrapped around the similar looking entry below it in the body section:
http://www.w3schools.com/tags/tag_comment.asp
http://htmlhelp.com/reference/wilbur/misc/comment.html
This at the end of the same code snippet is also incorrect but should not impact on your original issue:
- Code: Select all
</body>
<div>
</html>
- Code: Select all
</body>
</div>
</html>
Good luck, I have my fingers crossed
===========================================
1. The new DeskTopXampp launch control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site
2. Make Richer Ajax Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================