I installed the latest version EasyPHP (Version 1.8) and developed a small application in PHP.
It is running on EASYPHP's Apache 1.3.33.
It needs to be used with Internet Explorer (Version 6) due to a component it uses.
The PHP program parses a specific XML file (say 321.xml) generated by another application with content periodically re-written by the generating application.
The PHP program is launched as follows:
where 220.127.116.11 is replaced by the actual IP address or domain name, and
the XML file name to be processed is 321 (in this example) - actually 321.xml
The PHP script accesses and parses the correct XML file, however often the system "fixates" on an old XML file's content - as if there was caching taking place somewhere in the system.
Equally puzzling, at times the system suddenly starts processing the fresh/current (up-to-date/correct) XML file content.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="3">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
into the PHP file and edited the httpd.conf Apache file to prevent caching, but it does not seem to help.
Perhaps I missed something which still allows caching of the XML file.
a) Would appreciate advice on how to handle this - or at least how to approach debugging the problem
b) Does anyone know what is the difference between the "httpd.conf" in
and C:\Program Files\EasyPHP1-8\apache\co
c) Can TELNET, Apache log file or other tool be used to view the "response headers" and actual XML file content transmitted to the browser by the server - for debugging this type of problem? If so then how?
Thank you for the help