Does anyone know anything about the above block, and how it works ? I have it installed but cannot play the files. I'm not too sure which parts of the php file to edit in order to customize it for my own site.
Code:
<?php
/************************************************************************/
/* */
/* Video Player for Direct Upload Nuke 1.0 */
/* Copyright (c) 2005 by Anthony Stewart owner@ParentalSkills.org */
/* http://www.ParentalSkills.org */
/* */
/************************************************************************/
if (eregi("block-Modules.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
//$content.="<strong>Select file</strong><br>";
$get_videos=mysql_query("SELECT * FROM nuke_downloads_downloads WHERE title LIKE '%.wmv%' OR title LIKE '%.wma%' OR title LIKE '%.avi%' OR title LIKE '%.wav%' OR title LIKE '%.mpg%' OR title LIKE '%.mpg%' OR title LIKE '%.mp3%' OR title LIKE '%.midi%' OR title LIKE '%.aiff%' OR title LIKE '%.au%' OR title LIKE '%.mov%' ORDER BY title ASC");
while($video_array=mysql_fetch_array($get_videos)) {
$content.="<option value=\"$video_array[title]\">$video_array[title]</option>";
}
$content.="
</select>
<select name=\"player\" size=\"1\">
<option value=\"w\">Windows Media Player</option>
<option value=\"q\">Quicktime Player</option>
</select>
<input type=\"Submit\" name=\"Submit\" value=\"Play this video\" /><p>";
$get_info = mysql_fetch_array(mysql_query("SELECT * FROM nuke_downloads_downloads WHERE title LIKE '%$_REQUEST[videos]%'"));
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum