Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autoindex scripts
10-23-2018, 02:54 PM,
Post: #1
Autoindex scripts
<?php
define('IN_SS', true);
include_once('./inc/init.php');
include_once('./inc/class_watermark.php');

$width = 120;
$height = 120;

if(isset($ss->input['file']) && !empty($ss->input['file']))
{
$file = base64_decode($ss->input['file']);
}
else
{
$file = null;
}

if(is_null($file))
{
header('Location: '.$ss->settings['url'].'/assets/images/file.png');
die();
}

$fid = $ss->get_input ('fid');
$file = ".{$file}";

if(!file_exists($file))
{
header('Location: '.$ss->settings['url'].'/assets/images/file.png');
die();
}


file_exists() expects parameter 1 to be a valid path, string given

this error comes on version php 5.6 and upload , scan files does not working so any php expert can solved this issue for php latest php version . i will pay if you will solved this issue


Attached Files
.php   icon.php (Size: 6.13 KB / Downloads: 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)