first commit

This commit is contained in:
2024-05-31 14:18:00 +07:00
commit 1f8ef5e17f
4029 changed files with 777987 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
print_r($_POST);
include("../../koneksi.php");
$surat_id=$_POST['surat_id_uploadz'];
$folder = "pdf";
$tmp_name = $_FILES["input_load_cvz"]["tmp_name"];
$name = $folder."/".$surat_id."_".$_FILES["input_load_cvz"]["name"];
$name_pdf = $surat_id."_".$_FILES["input_load_cvz"]["name"];
move_uploaded_file($tmp_name, $name);
$ins=pg_query("INSERT INTO scan (surat_id,file) VALUES ('$surat_id','$name_pdf')");
?>