<? $url=”http://www.bbflights.com/VatsimPHP/download/”; if(!file_exists(“VatsimPHPgenerator.php”)) { copy($url.”VatsimPHPgeneratorupdate.php”, “VatsimPHPgenerator.php”); } if(!file_exists(“VatsimPHPoptions.txt”)) { copy($url.”VatsimPHPoptions.txt”, “VatsimPHPoptions.txt”); } ?>
Daily Archives: November 26, 2008
PHP array Form Post
Form Code <label> <input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisoteri ergasia” /> Με περισσότερη εργασία</br><br> </label> <label><input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisotero Pragramatismo” /> Με περισσότερο προγραμματισμό</br><br> </label> <label> <input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisoteri tolmi” />Mε περισσότερη τόλμη</label> PHP action Code <?php for ($i=0; $i<count($_POST[‘oik_stoxoi’]); $i++){ $assistivetech_req .= addslashes($_POST[‘oik_stoxoi’][$i].” – “); //do this //echo $assistivetech_req; …