www protected file
4 отговора
186 прегледа
www protected file
Kak moga da svalia zashtiten s basic auth file v php script?
S fsockopen() ne stana...
S fsockopen() ne stana...
Re: www protected file
napisah predi vreme toia script za da si pribiram po-myrzelivo logovete ot goto.bg. mislia che shte ti byde polezen.
<?php
$dn = "xxx.com";
$ts = date("m-d-Y");
$fn = "accesslog-xxx.com-$ts.gz";
$lp = "xxx:yyy";
$fp = fopen ("[линк]", "r");
header("Content-type: application/x-tar .tgz");
header("Content-Disposition: attachment; filename=$fn");
fpassthru($fp);
fclose ($fp);
?>
<?php
$dn = "xxx.com";
$ts = date("m-d-Y");
$fn = "accesslog-xxx.com-$ts.gz";
$lp = "xxx:yyy";
$fp = fopen ("[линк]", "r");
header("Content-type: application/x-tar .tgz");
header("Content-Disposition: attachment; filename=$fn");
fpassthru($fp);
fclose ($fp);
?>
Re: www protected file
kato generira6 imeto na faila slozi usr i pass - a taka :
fopen("[линк]");
fopen("[линк]");
Re: www protected file
abe bigot, ne vijdash li che foo1 e otgovoril veche ili iskash da dokazvash neshto tuk? aman ot hamavi pishlemeta 
Re: www protected file
Blagodaria ti moeto dete za sladkite dumi. iavno si dosta napred s materiala za6toto se okaza 4e ne vsi4ki razbirat obiasnenieto na foo1 ta re6ih da go napi6a v po-prost ezik
A ti hamavo pishleme deto izpolzva6 tezi dumi4ki da si be6e kazal pone koi si ....
E tuk ni6to niama :[линк]
A ti hamavo pishleme deto izpolzva6 tezi dumi4ki da si be6e kazal pone koi si ....
E tuk ni6to niama :[линк]