hey, any1 plz tell me how to add file name as page title in view.php??????????
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
Started on the old forum in September 2011 · view the original in the archive · old links redirect here
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
hey, any1 plz tell me how to add file name as page title in view.php??????????
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
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>';
Here is the partners & Updates table
Hot Indian Desi videos Visit : http://hotgirlsex.net
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
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
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
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.
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
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