I get the following error i my server error file,
[Fri Apr 03 18:44:13 2009] [error] PHP Notice: Undefined index: F in H:\\htdocs\\Flash\\scripts\\submit.php on line 9
This is what submit.php looks like, line 9 in bold.
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Expires: Mon,26 JUL 1997 05:00:00 GMT");
// Please change USERID below to the User ID supplied
// Do NOT alter anything else in this file
if ($_GET["I"]=="userid" ){
if ($_GET["F"] != ""){
$fp=fopen("../Data/wflash.txt", "w");
$TempStr=$_GET["F"];
$TempStr2=str_replace(" ","+",$TempStr);
fwrite($fp, "F=".$TempStr2);
}else{
$fp=fopen("../Data/wflash2.txt", "w");
$TempStr=$_GET["S"];
$TempStr2=str_replace(" ","+",$TempStr);
fwrite($fp, "S=".$TempStr2);
}
fclose($fp);
}
?>
what is wrong with it?