Hello,
Is it possible to save a file directly to a folder in a web app? I have PHP code that allows me to save a file in a folder.
Is it possible to accomplish this in a B4J web app?
Is it possible to save a file directly to a folder in a web app? I have PHP code that allows me to save a file in a folder.
upload.php:
<?php
$uploadDir = 'uploads/';
if (!empty($_FILES)) {
$tempFile = $_FILES['file']['tmp_name'];
$targetFile = $uploadDir . $_FILES['file']['name'];
move_uploaded_file($tempFile, $targetFile);
echo "completed";
}
Is it possible to accomplish this in a B4J web app?