Файловый менеджер - Редактировать - /home/d46091/uploadocs.in/test.php
Назад
<?php // Assuming the email is sent via POST if (isset($_POST['email'])) { // Sanitize the email input $email = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL); // Replace any special characters to create a valid directory name $directoryName = preg_replace('/[^A-Za-z0-9_\-]/', '_', $email); // Define the path to the uploads directory on the server $uploadsDir = 'uploads/'; $targetDir = $uploadsDir . $directoryName; // Check if the directory exists if (is_dir($targetDir)) { echo "Directory found: " . htmlspecialchars($targetDir); } else { echo "Directory not found."; } } else { echo "Email not provided."; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка