Hope u all will like!
Autoindex! :)
Collapse
X
-
XML Parsing Error: junk after document element
Location: Downloads
Line Number 9, Column 924:<div class="konon">fullmasti.tk<br/></div><div class="contur"><div class="head">Downloads<br/></div></div><div class="info">Preview: <a href="index.php?p=1&sort=0&dir=">+</a>/-<br/>Sort by: name/<a href="index.php?p=0&sort=1&dir=">date</a><br/></div><div class="mainbox"><img src="ico.gif" alt=""/> <a href="index.php?dir=/Games&p=0&sort=0">Games</a> [0 / 0 kb]<br /><img src="ico.gif" alt=""/> <a href="index.php?dir=/Images&p=0&sort=0">Images</a> [0 / 0 kb]<br /><img src="ico.gif" alt=""/> <a href="index.php?dir=/Music&p=0&sort=0">Music</a> [0 / 0 kb]<br /><img src="ico.gif" alt=""/> <a href="index.php?dir=/Themes&p=0&sort=0">Themes</a> [0 / 0 kb]<br /><img src="ico.gif" alt=""/> <a href="index.php?dir=/Videos&p=0&sort=0">Videos</a> [0 / 0 kb]<br /></div><div class="footer"><div class="footer"><div class="footer">fullmasti.tk</div></div></div></body></html><script type="text/javascript">
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
Comment
-
Image.php
some editing with image.php
Code:<?php // Get new dimensions $RESuploadFolderPath = ''; extract($_REQUEST); if($f){ if ( isset( $w , $h , $q ) ) { $w = (int) $w; $h = (int) $h; $q = (int) $q; $w = ( $w > 0 && $w < 1000 ) ? $w : 50; $h = ( $h > 0 && $h < 1000 ) ? $h : 60; $h = ( $h > 0 && $h <= 100 ) ? $h : 80; } else { $w = 50; $h = 60; $h = 80; } $filename = $RESuploadFolderPath.$f; if ( is_file( $filename ) ) { // get original file's height & width list($width, $height) = getimagesize($filename); $filetype = pathinfo($filename); $fileNameOnly = $filetype['filename']; switch($filetype['extension']) { case 'jpg': $source = imagecreatefromjpeg($filename); break; case 'gif'; $source = imagecreatefromgif($filename); break; case 'png': $source = imagecreatefrompng($filename); break; } $image_p = imagecreatetruecolor($new_width, $new_height); imagecopyresampled($image_p, $source, 0, 0, 0, 0, $new_width, $new_height, $width, $height); header('Content-type: image/jpeg'); header("Content-Disposition: attachment; filename=\"".$fileNameOnly."\";" ); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".filesize($filename)); imagejpeg($image_p, null ,$quality); } else { echo 'Some Text Here :P '; } }
Comment
-
Originally posted by StunningNick View Postsome editing with image.php
Code:<?php // Get new dimensions $RESuploadFolderPath = ''; extract($_REQUEST); if($f){ if ( isset( $w , $h , $q ) ) { $w = (int) $w; $h = (int) $h; $q = (int) $q; $w = ( $w > 0 && $w < 1000 ) ? $w : 50; $h = ( $h > 0 && $h < 1000 ) ? $h : 60; $h = ( $h > 0 && $h <= 100 ) ? $h : 80; } else { $w = 50; $h = 60; $h = 80; } $filename = $RESuploadFolderPath.$f; if ( is_file( $filename ) ) { // get original file's height & width list($width, $height) = getimagesize($filename); $filetype = pathinfo($filename); $fileNameOnly = $filetype['filename']; switch($filetype['extension']) { case 'jpg': $source = imagecreatefromjpeg($filename); break; case 'gif'; $source = imagecreatefromgif($filename); break; case 'png': $source = imagecreatefrompng($filename); break; } $image_p = imagecreatetruecolor($new_width, $new_height); imagecopyresampled($image_p, $source, 0, 0, 0, 0, $new_width, $new_height, $width, $height); header('Content-type: image/jpeg'); header("Content-Disposition: attachment; filename=\"".$fileNameOnly."\";" ); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".filesize($filename)); imagejpeg($image_p, null ,$quality); } else { echo 'Some Text Here :P '; } }
Comment
Comment