<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> <html> <HEAD> <TITLE>Interviewee page</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"> <!-- Copyright 1999 Sam Hinton --> <? $path = ereg_replace ("[A-z]*.html", "", $PATH_INFO) > <? $stem ="/publish/info/" + $path > <? $stem="YOUR PATH HERE" > <? if ($fromForm != "this is always true") { $infile = File($stem + "test.ini"); $usrname=$infile[0]; $refr = $infile[1]; $status = $infile[2]; } > <? if (($button == "Send") && ($status!="terminated")) { $fp = fopen ($stem + "logs/test.log", "a+"); $textf1 = reg_replace(" ", "<BR>", $textfield); $textf = reg_replace ("|", "!", $textf1); fputs ($fp, $usrname + "|") fputs ($fp, $textf + "\n"); fclose($fp); } > <FORM ACTION="user.html" METHOD="POST"> <TABLE BGCOLOR="#CCCCCC" BORDER="0"> <!-- <INPUT NAME="usrname" VALUE="<? echo $usrname>" TYPE="TEXT"><BR> --> <TR> <TD VALIGN="TOP"> <TEXTAREA NAME="textfield" COLS="50" ROWS="5" WRAP="ON"></TEXTAREA><BR> <INPUT NAME="button" TYPE="submit" VALUE="Send"> <INPUT NAME="usrname" VALUE="<? echo $usrname>" TYPE="HIDDEN"> <INPUT NAME="fromForm" VALUE="yes" TYPE="HIDDEN"> </TD> <TD VALIGN="TOP"> <? if ($status != "terminated")> In this interview, your name is <? echo $usrname >. The conversation display will update every <? echo $refr> seconds.<BR> <? else > The interview is now finished. Thankyou for your participation.<BR> <? endif > </TD> </TR> </TABLE> </FORM> </BODY> </HTML>