Bug #687: When using PHP and JavaScript, JS command document.lastModified gives bad date
| From: | gemstone at triax dot com | Date: | Sun, 23 Aug 1998 20:37:44 +0000 |
| Subject: | Bug #687: When using PHP and JavaScript, JS command document.lastModified gives bad date | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-538@lists.php.net to get a copy of this message | ||
From: gemstone@triax.com
Operating system: Apache 1.2
PHP version: 3.0.3
PHP Bug Type: Other
Bug description:
<html>
<head>
<title>PHP/JavaScript Conflict</title>
</head>
<body>
<?
require("anything.inc");
// anything here will work, doesnt even have to be a require...
?>
<br>
JavaScript Last Modified:
<script language="JavaScript">
// print out the date the document was last modified
document.write(document.lastModified);
// returns 12/31/69 16:00:00
// when PHP is removed from the page, then it returns the correct date
</script>
</body>
</html>
I dont have a clue what modules might be used, you'll have to contact Teleport (teleport.com)
Same goes for the ini file and other info.
If you would prefer, I can contact them myself and if they cannot resolve the problem, have them
contact you.
Thanks for your help either way,
Joshua James
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net