Jump to content
GIGN Forum

Demkas


Recommended Posts

Jāraksta no cstrike direkstorijas (../ nozīmē vienu mapi uz augšu):

../ (tagad esam valve mapē) ../ (tagad esam Program Files mapē) ../ (Tagad esam C:\ mapē ) demo (tagad esam C:\demo mapē)

Tātad rakstam

record ../../../demo

Edited by shooter
Link to comment
Share on other sites

NJA CIK Noprotu .dem faili pakojaas un parvietojaas tikai ieejot hltv.php ,a ir iespeeja kad vini pasi no sevis tur converteejaas,vai arii kads luudzu pasakiet scriptu ka dabut to ka,laiks blakam radas smile.gif

ludzu.

Edited by boyzz
Link to comment
Share on other sites

if ($handle = opendir('mape/ar/demo')) {

while (false !== ($file = readdir($handle))) {

if (strlen($file) > 4)

{

$gabali = explode("-", $file);

$date = $gabali[1];

$mape = $gabali[2];

$mapesgabali = explode(".", $mape);

$name = $mapesgabali[0];

$year = substr($date,0,2);

$month = substr($date,2,2);

$day = substr($date,4,2);

$hour = substr($date,6,2);

$minute = substr($date,8,2);

echo "$day.$month.$year $hour:$minute       $name       <a href=\"http://www.serveris.lv/demo/$file\">download</a></br>";

}

}

closedir($handle);

}

Link to comment
Share on other sites

if ($handle = opendir('mape/ar/demo')) {

while (false !== ($file = readdir($handle))) {

if (strlen($file) > 4)

{

$gabali = explode("-", $file);

$date = $gabali[1];

$mape = $gabali[2];

$mapesgabali = explode(".", $mape);

$name = $mapesgabali[0];

$year = substr($date,0,2);

$month = substr($date,2,2);

$day = substr($date,4,2);

$hour = substr($date,6,2);

$minute = substr($date,8,2);

echo "$day.$month.$year $hour:$minute       $name       <a href=\"http://www.serveris.lv/demo/$file\">download</a></br>";

}

}

closedir($handle);

}

Uz sito man neatbildeeja,kur jaliek preciizi.

Link to comment
Share on other sites

Nu jaa, viss aizgaaja, demkas raxta tagad vajadziigajaa mapee, php skripts demku compreseeshanai ar iet, tikai lai taas demkas kompreseetu vajag ieiet tajaa failaa, kur ir tas kompresijas skripts, jo savaadaak uzreiz ejot demo raadiitaajfailaa raada tikai taas, ko esmu pirmstam kompreseejis ieejot tajaa kompresijas failaa! Ja kaads mani saprata, tad pasakiet kaa es varu uztaisiit, lai ejot tajaa demo raadiitaajfailaa uzreiz demkas neredzot paartaisaas un paraadaas! Veel labaak buutu, ja demkas peec raxtiishanaas pashas kompreseejas!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...