0 && (strpos($form_data_type,"jpeg")!==false || strpos($form_data_type,"pdf")!==false)) { $uploadinprogress=true; $myarray["filename"]=$form_data_name; $myarray["filetype"]=$form_data_type; $fname = "fsystem-".md5(uniqid("")) .".dat"; $myarray["fileurl"]=$fname; #Alte Datei löschen $lsm_uploaddir=FS_FILEDUMP; if ($item["fileurl"]!="") if (file_exists($lsm_uploaddir.$fname)) unlink($lsm_uploaddir.$fname); move_uploaded_file($form_data,$lsm_uploaddir.$fname); $savephotoarray["filename"]=$myarray["filename"]; $savephotoarray["filetype"]=$myarray["filetype"]; $savephotoarray["fileurl"]=$myarray["fileurl"]; if (!empty($photofromlasttime)) { unlink($lsm_uploaddir.basename($photofromlasttime["fileurl"])); #Wir löschen das alte Bild. } $newpicuploaded=true; #echo "
";
			#print_r($myarray);
		} else
		{
			if ($_FILES['photofield']['size']>0)
				$myerror="Bitte laden Sie nur PDF oder JPG-Dateien hoch. Vielen Dank.";
		}
		
		if ($newpicuploaded==false && !empty($photofromlasttime))	#Vom letzten Mal merken wir uns das!
		{
			$myarray["filename"]=$savephotoarray["filename"]=$photofromlasttime["filename"];
			$myarray["filetype"]=$savephotoarray["filetype"]=$photofromlasttime["filetype"];
			$myarray["fileurl"]=$savephotoarray["fileurl"]=basename($photofromlasttime["fileurl"]);	#Damit es wirklich nur ein Dateiname ist
		}
		
		
		if ($anrede=="")
			$myerror.="
  • Salutation"; if ($nachname=="") $myerror.="
  • Surname"; if ($name=="") $myerror.="
  • Name"; if (round($gebday)==0 || round($gebmonth)==0 || round($gebyear)==0) $myerror.="
  • Date of birth"; if ($gebort=="") $myerror.="
  • Place of birth"; if ($nationalitaet=="") $myerror.="
  • Nationality"; if ($adresse=="") $myerror.="
  • Adress"; if ($plz=="") $myerror.="
  • Postcode"; if ($city=="") $myerror.="
  • City"; if ($ort=="") $myerror.="
  • Country"; if ($tel=="") $myerror.="
  • Telephone"; if (!preg_match("/^[0-9A-Za-z.\-_]+@[0-9A-Za-z.-]+\.[A-Za-z.-]+$/",$email) || $email=="") $myerror.="
  • Email"; $tempdata=get_generic_all_sql($fs_db,"SELECT * FROM student WHERE email=".$fs_db->qstr($email)); if (!empty($tempdata) && !$editmode) { $myerror.="
  • Diese Emailadresse ist bereits registriert worden."; } if ($myerror=="") { /*echo "
    ";
    			print_r($myarray);
    			#print_r($_FILES);
    			echo "
    ";*/ if ($editmode==false) { $myarray["passcode"]=strtoupper(base_convert(uniqid(),16,35)); $_SESSION["sess_studentpasskey"]=$myarray["passcode"]; $id=create_item($fs_db,"student"); } else { $id=$trueid; #Kommt von weiter oben } set_item_data($fs_db,"student",$id,$myarray); header("Location: myprofile-thankyou.php"); die(); } } if(!$doingsomething && $_REQUEST["createnew"]=="") { header("Location: loginstudent.php"); die(); } ?> FIRST - My Profile
     



         

    REGISTER

       
     

    Unfortunately, there were some problems with your application, please check the following fields for mistakes:

    Sie können Ihre persönlichen Daten ändern:

    Please add your profile here:

     

     

       PERSONAL INFORMATION
       
      Salutation: ">&sizex=116" border="0"/>

      Surname:
      Name: " />
      Date of birth:
    dd mm yyyy
      Place of birth: " />
      Nationality: " />
      Address (Street + No): " />
      Postcode: " />
      City: " />
      Country: " />
      Telephone: " />
      Mobile: " />
      Email: " />
      FB: " />  
      Division: " />  
      AG: " />  
      Subject, Thesis Title: " />  
      Supervisor: " />  
      Additional Supervisor(s): " />  
      Photo: (only upload JPG, max 500kb)
    (Bild bereits hochgeladen: )
           
          " />

     

     

     


    My Profile

    Please fill in the form, so we have all your details, including the current contact details. Most of the information is only for administration purposes and will not be visible on the web. If anything changes (e.g. contact address, email etc), please log on and change it here.

     


      example of the registration form
    Imprint