Sea auto index HTML Verson updated

Started on the old forum in September 2011 · view the original in the archive · old links redirect here

#sea-rdx

28 replies · 7,215 views · started 15 years ago · 1 min read

TL;DR · summary of 28 replies
  • ASNirman had issues with the site showing only a logo and blank content after installation.
  • burdwan faced problems accessing folders like "DJ SONGS ZONE" and needed help creating them correctly.
  • slowy was looking for ways to add file names as page titles in view.php.
  • bivaswap requested assistance in modifying the script for non-resumable multi-stream downloads with unique links.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

12 participants
arnage Lead · 811 posts #22

One way is to remove < require 'moduls/header.php'; > from top of view.php and instead add

#-----------------------------------------------------#
#     ============ЗАГРУЗ-ЦЕНТР=============           #
#             	 Автор  :  Sea                        #
#               E-mail  :  x-sea-x@ya.ru              #
#                  ICQ  :  355152215                  #
#   Вы не имеете права распространять данный скрипт.  #
#   		По всем вопросам пишите в ICQ.        #
#-----------------------------------------------------#

// mod Gemorroj
$HeadTime = microtime(true);

session_start();

header('Content-type: text/html; charset=utf-8');
header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');
header('Last-Modified: ' . gmdate('r') . ' GMT');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style.css"/>
<title>' . $setup['zag'] . '|' . $file_info['name'] . '</title>
</head>
<body>';
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
slowy Senior · 357 posts #24

arnage wrote: One way is to remove < require 'moduls/header.php'; > from top of view.php and instead add

#-----------------------------------------------------#
#     ============ЗАГРУЗ-ЦЕНТР=============           #
#             	 Автор  :  Sea                        #
#               E-mail  :  x-sea-x@ya.ru              #
#                  ICQ  :  355152215                  #
#   Вы не имеете права распространять данный скрипт.  #
#   		По всем вопросам пишите в ICQ.        #
#-----------------------------------------------------#

// mod Gemorroj
$HeadTime = microtime(true);

session_start();

header('Content-type: text/html; charset=utf-8');
header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');
header('Last-Modified: ' . gmdate('r') . ' GMT');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style.css"/>
<title>' . $setup['zag'] . '|' . $file_info['name'] . '</title>
</head>
<body>';

not working $file_info['name'] is showing nothing

bivaswap Junior · 31 posts #25

Because $file_info['name'] has not defined yet. $file_info contain no value start your your html allocation after database connection.

Hot Indian Desi videos Visit : http://hotgirlsex.net

arnage Lead · 811 posts #26

Yes, not just copy-paste... or read it again for title.

$file = mysql_fetch_array(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
$file_title = $file['name'];

Or add in header.php something like:

if (strpos($_SERVER['PHP_SELF'], 'view.php') !== false) {
$file = mysql_fetch_array(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
$file_title = $file['name'];
} else {
$file_title = '';
}

... to avoid coping DTD header in view.php. There is several ways to achieve this.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
bivaswap Junior · 31 posts #27

can any body do it in this sea script!

| Non-resumable multi stream download | generate unique link for every download, but no variation in file name

Hot Indian Desi videos Visit : http://hotgirlsex.net

bivaswap Junior · 31 posts #29

run install.php, you will be asked to put your database login details put it correctly & install it

Bro, This script working perfectly.. make a folder, named "files" make subfolder into it to make section

Hot Indian Desi videos Visit : http://hotgirlsex.net

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close