Re: [PHP] XML File does not reflect changes upon reopen - HELP

2003-01-09 Thread Marek Kilimajer
There might be couple of problems: - your php script should read from the cgi script until EOF, so it continues after the other script finishes - your cgi script should fflush the file before closing, and then close the connection - use clearstatcache() before opening the file if the php script

[PHP] XML File does not reflect changes upon reopen - HELP

2003-01-08 Thread Phil Powell
if ($isValid) { $cgi = '/cgi-bin'; if (strpos($HTTP_HOST, 'dyndns') === false) $cgi .= '/cgiwrap/ppowell'; $fileID = fopen("http://$SERVER_NAME$cgi/pollinsert.cgi?pollID=$pollID&answerID=$answerID&valIdentifier="; . urlencode($valIdentifier) . "&lastPollResultsID=" . ($pollResultsArr