PHP processing errors
Posted by: Editorial_Response (---.dsl.chcgil.ameritech.net)
Date: October 03, 2010 09:41PM

Hey all!

All servers have been restarted several times and yet I get the following errors.

Yesterday on Windows 7 Starter OS -w- Firefox 3.6.10 worked fine yet today I get the following errors:

== INPUT ==
<html>
<head>
<title>PHP Test</title>
</head>
<body>

<?php
echo '<p>Hello World</p>';
?>

</body>
</html>

==OUTPUT==
Hello World

'; ?>

=========
== INPUT ==

<?php
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) {
?>
<h3>strpos() must have returned non-false</h3>
<p>You are using Internet Explorer</p>
<?php
} else {
?>
<h3>strpos() must have returned false</h3>
<p>You are not using Internet Explorer</p>
<?php
}

// echo $_SERVER['HTTP_USER_AGENT'];

?>

==OUTPUT==
strpos() must have returned non-false

You are using Internet Explorer
strpos() must have returned false

You are not using Internet Explorer
=========
=========

Options: ReplyQuote
Re: PHP processing errors
Posted by: Editorial_Response (---.dsl.chcgil.ameritech.net)
Date: October 03, 2010 10:01PM

Sorry - bookmark to localhost was screwed up! My bad.

Options: ReplyQuote


Sorry, only registered users may post in this forum.