Johncms bo'yicha umumiy savollar (3101)
RM_FANAT
#2061
Akbarali, # Akbarali (19.06.2019 / 16:19)
Kamissar, rasm qayda turganini so`ramadim. Men shuni kodlari qayda yozilganini so`radim
/incfiles/classes/functions.php da
0
developer
#2062
salom gallerydagi rasmlardi yuklashdan oldin pechat bosib keyin saytga yuklaydigan qilsa bo'ladimi?
0
RNDTV
#2063
developer, Dostim galereyadan yuklaydigan hamma rasmga avtomatik pechat bosadigan mod bor erta qushib quyiaman siz alohida alohida bosishingiz shart emas
0

#2064
developer, Agar hohlasez takewap scriptida bor bu mod tshunsangiz uploadda turibdi
1
developer
#2065
RNDTV, # RNDTV (23.06.2019 / 03:12)
developer, Agar hohlasez takewap scriptida bor bu mod tshunsangiz uploadda turibdi
ha joylang unda shu yerga.
0
RNDTV
#2066
developer,
bu kod aka rasm qayga yuklanishi bn qanday pechat hamma razmerlari bor uzizga moslab joylaysizda
0
Kod · PHP81 qator
$handle = new upload($_FILES['imagefile']);

if ($handle->uploaded) {

// Обрабатываем фото

$handle->image_watermark = '../images/watermark.png';

$handle->image_watermark_position = 'BR';

$handle->file_new_name_body = 'img_' . time();

$handle->allowed = array(

'image/jpeg',

'image/gif',

'image/png'

);

$handle->file_max_size = 1024 * $set['flsz'];

$handle->image_resize = true;

$handle->image_x = 1920;

$handle->image_y = 1024;

$handle->image_ratio_no_zoom_in = true;

$handle->image_convert = 'jpg';

$handle->process('../files/album/');

$img_name = $handle->file_dst_name;

if ($handle->processed) {

// Обрабатываем превьюшку

$handle->file_new_name_body = 'tmb_' . time();

$handle->image_resize = true;

$handle->image_x = 100;

$handle->image_y = 100;

$handle->image_ratio_no_zoom_in = true;

$handle->image_convert = 'jpg';

$handle->process('../files/album/');

$tmb_name = $handle->file_dst_name;

$cat_id = abs(intval($_POST['cat']));

if ($handle->processed) {

if ($rights == 9){

mysql_query("INSERT INTO `album_files` SET

`album_id` = '$cat_id',

`img_name` = '" . mysql_real_escape_string($img_name) . "',

`tmb_name` = '" . mysql_real_escape_string($tmb_name) . "',

`time` = '" . time() . "'

");



}

}
developer
#2067
RNDTV, # RNDTV (23.06.2019 / 20:17)
developer, $handle = new upload($_FILES['imagefile']);
if ($handle->uploaded) {
// Обрабатываем фото
$handle->image_watermark = '../images/watermark.png';
$handle->image_watermark_position = 'BR';
bu galleriya uchun emasku foydalanuvchi albomlari uchun ekan
0
RNDTV
#2068
developer, AGAR SIZGA ZARUR BULSA SCRIPTINGIZNI SH.X GA LINKINI BERING MEN GALEREYAGA URNATIB BERISHIM MUMKIN
0

#2069
developer, John cms da xoxlagan modingizni xoxlagan joyingizga moslashtirsa buladi
0
developer
#2070
RNDTV, # RNDTV (24.06.2019 / 03:43)
developer, AGAR SIZGA ZARUR BULSA SCRIPTINGIZNI SH.X GA LINKINI BERING MEN GALEREYAGA URNATIB BERISHIM MUMKIN
skriptim oddiy johncms birorta yangi johnga ornatib yukleng shu yerga
0
RNDTV
#2071
developer, Okey
0
developer
#2072
simba download modulida fayllarni spiskasi chiqib turadigan joyni qaysi fayldan taxrirlaydi yani biror papka ochgan bosek shuni ichida fayllar royhatini korinishini ozgartirish kerak
0
tahrirlandi ·
#Mɪʀᴢᴀᴇᴠ
#2073
developer, # developer (30.06.2019 / 21:30)
simba download modulida fayllarni spiskasi chiqib turadigan joyni qaysi fayldan taxrirlaydi yani biror papka ochgan bosek shuni ichida fayllar royhatini korinishini ozgartirish kerak
index.php
0
developer
#2074
DPR, # DPR (30.06.2019 / 21:36)
developer, index.php
yogakanda u yerda
0
#Mɪʀᴢᴀᴇᴠ
#2075
developer, # developer (30.06.2019 / 22:14)
DPR, yogakanda u yerda
xammasi shu yerda
turbdi
0
developer
#2076
DPR, # DPR (30.06.2019 / 22:31)
developer, xammasi shu yerda
turbdi
shu joyini aytayapsizmi?
0
#Mɪʀᴢᴀᴇᴠ
#2077
developer, # developer (30.06.2019 / 22:38)
DPR, shu joyini aytayapsizmi?
xa shetdan boshlanadi
0
RNDTV
#2078
developer, Download/function.php bu papkani ochganda dasturlR ruyxatini kursatib turadi
Download/file.php bu dasturni ochadigan skachat qiladigan sahifasi borku usha
0

#2079
DPR, Johni tshunmasez bowqalarga ham urgatmang index.php da bulmaydiku u index faqat papkalani chiqorib beradiku faylarni kursatmaydiku
0
#Mɪʀᴢᴀᴇᴠ
#2080
RNDTV, # RNDTV (01.07.2019 / 02:24)
DPR, Johni tshunmasez bowqalarga ham urgatmang index.php da bulmaydiku u index faqat papkalani chiqorib beradiku faylarni kursatmaydiku
xosh u qanaqa savol berdi.?
Fayillar spispasi qayerda joylashgan.?
0