Conference on Scientific Computing Vysoke Tatry, Podbanske
|
Electronic Registration Form $name=$_POST[name]; $sur=$_POST[sur]; $title=$_POST[title]; $sex=$_POST[sex]; $institution=$_POST[institution]; $address=$_POST[address]; $country=$_POST[country]; $email=$_POST[email]; $contribution=$_POST[contribution]; $communication=$_POST[communication]; $poster=$_POST[poster]; $paper=$_POST[paper]; $session=$_POST[session]; $sessiontitle=$_POST[sessiontitle]; $accompanying=$_POST[accompanying]; $single=$_POST[single]; $double=$_POST[double]; if ($HTTP_SERVER_VARS[QUERY_STRING]=="send") { if($name && $sur && $sex && $institution && $address && $country && $email) { $to="algoritm@vox.svf.stuba.sk"; $subj=$name." ".$sur; $from="Registration"; $text=" Name: $name Surname: $sur Title: $title Salution: $sex Institution: $institution Mailing address: $address Country: $country E-mail: $email Title of the contribution: $contribution \n"; if ($communication) {$t="Communication";}; if ($communication && ($poster || $paper)) {$t=$t.", ";}; if ($poster) {$t=$t."Poster";}; if ($poster && $paper) {$t=$t.", ";}; if ($paper) {$t=$t."Paper";}; $t=$t."\n"; $text=$text.$t; $text=$text."Session organization: $session \n"; $text=$text."Title of the session: $sessiontitle \n"; $text=$text."Accompanying persons: $accompanying \n"; $text=$text."Single room: $single \n"; $text=$text."Accommodation with: $double"; mail("$to", "$subj", $text, "From: $from \nReply-To: $from \nX-Mailer: Script mailer 1.0"); echo"
Name: | $name |
Surname: | $sur |
Title: | $title |
Salution: | $sex |
Institution: | $institution |
Mailing address: | $address |
Country: | $country |
E-mail: | |
Title of the contribution: | $contribution |
$t | |
Session organization: | $session |
Title of the session: | $sessiontitle |
Accompanying persons: | $accompanying |
Single room: | $single |
Accommodation with: | $double |