<?php
"upload" => true,
"upload_images_only" => true,
"upload_max_size" => 100,
"upload_max_per_user" => 100,
"upload_path" => "files",
"upload_path_per_page" => "files/perpage",
?>
CREATE TABLE r4_upload (
id int(11) NOT NULL auto_increment,
page_id int(11) NOT NULL default '0',
filename varchar(250) NOT NULL default '',
description varchar(250) NOT NULL default '',
uploaded_dt datetime NOT NULL default '0000-00-00 00:00:00',
filesize int(11) NOT NULL default '0',
picture_w int(11) NOT NULL default '0',
picture_h int(11) NOT NULL default '0',
file_ext varchar(10) NOT NULL default '',
user varchar(80) NOT NULL default '0',
PRIMARY KEY (id),
KEY page_id (page_id,filename),
KEY page_id_2 (page_id,uploaded_dt),
KEY user_id (user,page_id)
) TYPE=MyISAM;
First, it is good in the standard delivery of installyatora to include these two catalogs (see above names) with the the standard of..yutachchess.
Secondly, to both these catalogs it is necessary to give rights to the record. Apparently, this mozhno/nuzhno to make only by hand. A question, must installyator or something check, are established rights?
&
this of the pictures, which must be drawn, they reflect two statuses access it is forbidden and file is not found. This is made pictures in order to ensure correct work and with inklyudemente of the picture somewhere. Well and quip, inklyudement. Br.
It thus far repaired hole with the scripts thus :
<?
$banned = explode("|", $this->config["upload_banned_exts"]);
if (in_array(strtolower($ext), $banned))
$ext = $ext.".txt";
?>
pls. finish this translation, this was only an temporary text for german docu