HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/seekya.com/DEAD/beta/manage/upload.php
<?php session_start();
include("../includes/connect.php"); 
include("../includes/func.php");?>
<?php if (empty($_SESSION["admin"])) redirect("index.php?e=1");
//if ($_SESSION["user_type"]!=1) redirect("index.php?e=1");

if (!empty($_POST["video"])) {
	$flname = $_FILES["video_file"]["name"];
	
	if (move_uploaded_file($_FILES["video_file"]["tmp_name"], "/home/riotvid/public_html/videodir/" . $flname))
		{
			
			$msg= "Video Uploaded";
			
		
		}
	
}
if (!empty($_POST["image"])) {
	$flname = $_FILES["video_image"]["name"];
	$flarr = explode(".", $flname);
	$flext = strtolower($flarr[count($flarr)-1]);
	if (move_uploaded_file($_FILES["video_image"]["tmp_name"], "/home/riotvid/public_html/videoimages/" . $flname))
		{
			
			$msg= "Image Uploaded";
			
		
		}
	
}
?>
<?php include("includes/header.php"); ?>
<??>

<table width="98%" height="100" border="0" align="center" cellpadding="5" cellspacing="5">
	<tr>
		<td height="50"><span style="font-weight: bold">Upload the Image & .WMV File</span>
	      <hr size="1">  </td>
	</tr>
	
	
	
	<tr>
		<td class="BlackAri12B" colspan=2><table width="100%" border="0" cellpadding="2" cellspacing="1" class="bgDarkGray">
            
			<?php echo "<font color=red>".$msg."</font>"; ?>
            <tr>
                <td colspan="7" height="10" class="bgWhite"></td>
            </tr>
		<form name=video method="post" enctype="multipart/form-data">
							<strong>Upload the Image & .WMV File for your video.<br>
							</strong><br><br>

							File for Video (.WMV) :<br> <input name="video_file" type="file" class="textbox" size="35"><br><br>
							
							<input type=submit name=video class=button value="Upload Video "><br><br>
							</form>
				
                 </tr>
		<form name=image method="post" enctype="multipart/form-data">
							

							Image for Video (One Frame,.GIF/.JPG) : <input name="video_image" type="file" class="textbox" size="35"><br><br>
							
							<input type=submit name=image class=button value="Upload Image "><br><br>
							</form>
            
        </table></td>
	</tr>
	
	
	<tr>
		<td height="50" align="center">&nbsp;</td>
	</tr>
</table>
</form>

<?php include("includes/footer.php"); ?>