query($getUser); $sessionUser = $getUser_result->fetch_array(MYSQLI_ASSOC); } $DBHOST = "localhost"; $DBUSER = "geocarto"; $DBPASS = "GattJB!9"; $DBNAME = "geocarto01"; $conn = new mysqli($DBHOST, $DBUSER, $DBPASS, $DBNAME); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> Geocarto International Centre Ltd.

The file name already exists.

"; } if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg" && $imageFileType != "gif" ) { echo "

Sorry, only JPG, JPEG, PNG & GIF files are allowed.

"; $uploadOk = 0; } if ((getimagesize($_FILES["file-998"]["tmp_name"]) != FALSE && file_exists($target_file2)) || (getimagesize($_FILES["file-198"]["tmp_name"]) != FALSE && file_exists($target_file3)) || (getimagesize($_FILES["file-298"]["tmp_name"]) != FALSE && file_exists($target_file4)) || (getimagesize($_FILES["file-398"]["tmp_name"]) != FALSE && file_exists($target_file5))) { $uploadOk = 0; echo "

The file name already exists.

"; } if($_POST["Quantity_002"] > 0){ if ($imageFileType2 == ""){ echo "

Sorry, you didn't upload your second file image.

"; $uploadOk = 0; } else{ if($imageFileType2 != "jpg" && $imageFileType2 != "png" && $imageFileType2 != "jpeg" && $imageFileType2 != "gif") { echo "

Sorry, only JPG, JPEG, PNG & GIF files are allowed.

"; $uploadOk = 0; } } } if($_POST["Quantity_003"] > 0){ if ($imageFileType3 == ""){ echo "

Sorry, you didn't upload your third file image.

"; $uploadOk = 0; } else{ if($imageFileType3 != "jpg" && $imageFileType3 != "png" && $imageFileType3 != "jpeg" && $imageFileType3 != "gif") { echo "

Sorry, only JPG, JPEG, PNG & GIF files are allowed.

"; $uploadOk = 0; } } } if($_POST["Quantity_004"] > 0){ if ($imageFileType4 == ""){ echo "

Sorry, you didn't upload your fourth file image.

"; $uploadOk = 0; } else { if($imageFileType4 != "jpg" && $imageFileType4 != "png" && $imageFileType4 != "jpeg" && $imageFileType4 != "gif") { echo "

Sorry, only JPG, JPEG, PNG & GIF files are allowed.

"; $uploadOk = 0; } } } if($_POST["Quantity_005"] > 0){ if ($imageFileType2 == ""){ echo "

Sorry, you didn't upload your fifth file image.

"; $uploadOk = 0; } else{ if($imageFileType5 != "jpg" && $imageFileType5 != "png" && $imageFileType5 != "jpeg" && $imageFileType5 != "gif") { echo "

Sorry, only JPG, JPEG, PNG & GIF files are allowed.

"; $uploadOk = 0; } } } if ($uploadOk == 1) { if (move_uploaded_file($_FILES["file-498"]["tmp_name"], $target_file)) { $sql = "INSERT INTO 3D_order (Name, Email, Subject, Msg, file01, quantity01, height01, width01, file02, quantity02, height02, width02, file03, quantity03, height03, width03, file04, quantity04, height04, width04, file05, quantity05, height05, width05) VALUES ('".$_POST["your-name"]."','".$_POST["your-email"]."','".$_POST["your-subject"]."','".$_POST["your-message"]."','".$_FILES["file-498"]["name"]."','".$_POST["Quantity_001"]."','".$_POST["Height_001"]."','".$_POST["Width_001"]."','".$_FILES["file-98"]["name"]."','".$_POST["Quantity_002"]."','".$_POST["Height_002"]."','".$_POST["Width_002"]."','".$_FILES["file-198"]["name"]."','".$_POST["Quantity_003"]."','".$_POST["Height_003"]."','".$_POST["Width_003"]."','".$_FILES["file-298"]["name"]."','".$_POST["Quantity_004"]."','".$_POST["Height_004"]."','".$_POST["Width_004"]."','".$_FILES["file-398"]["name"]."','".$_POST["Quantity_005"]."','".$_POST["Height_005"]."','".$_POST["Width_005"]."')"; if($_POST["Quantity_002"] > 0){ move_uploaded_file($_FILES["file-98"]["tmp_name"], $target_file2); } if($_POST["Quantity_003"] > 0){ move_uploaded_file($_FILES["file-198"]["tmp_name"], $target_file3); } if($_POST["Quantity_004"] > 0){ move_uploaded_file($_FILES["file-298"]["tmp_name"], $target_file4); } if($_POST["Quantity_005"] > 0){ move_uploaded_file($_FILES["file-398"]["tmp_name"], $target_file5); } if ($conn->query($sql) === TRUE) { echo "

Your request has been recorded!

"; } } else { echo "

Your request fails!

"; } } } ?>

Complete the Form to Get Your 3D Lenticular Images


* You must at least upload one image file.
* The total file size should not exceed 25MB.

Your Name (required)

Your Email (required)

Subject

Your Message

Your First image file (REQUIRED)

The Quantity:

The height of the outcome image: (in inch)

The width of the outcome image: (in inch)



Your Second image file (if any):

The Quantity:

The height of the outcome image: (in inch)

The width of the outcome image: (in inch)



Your Third image file (if any)

The Quantity:

The height of the outcome image: (in inch)

The width of the outcome image: (in inch)



Your Fourth image file (if any)

The Quantity:

The height of the outcome image: (in inch)

The width of the outcome image: (in inch)



Your Fifth image file (if any)

The Quantity:

The height of the outcome image: (in inch)

The width of the outcome image: (in inch)