I see only one error - problem with readfile(\/105.2.php)
in line 24 - so I tested it.
$file = 'file.php';
$con = '/:';
readfile(dirname(dirname($con)) . '/'.$file);
It gives me incorrect path \/file.php
as in error message.
If I use $con=':/'
it gives me correct path ./file.php
I only don't know what $con
is. Maybe you have dirname(dirname($content))
in your oryginal code and $content = $_REQUEST['code'];
=> dirname(dirname($_REQUEST['code']))
=> dirname(dirname("/:"))
=> "\"