← Desenvolvimento

Screenshots!

Lida 10329 vezes

Offline

asturmas 
Administrador
Mensagens 19734 Gostos 50
Feedback +2

Troféus totais: 39
Trófeus: (Ver todos)
Mobile User Windows User Super Combination Combination Topic Starter 100 Poll Votes 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

Ja puz o alojagratis na fila  :lol:
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Offline

asturmas 
Administrador
Mensagens 19734 Gostos 50
Feedback +2

Troféus totais: 39
Trófeus: (Ver todos)
Mobile User Windows User Super Combination Combination Topic Starter 100 Poll Votes 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

Ha poiz  :lol:

kidmetralha 
Visitante

e tb meto aki o meu lol

Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Já alguem arranjou algum code?
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Código: [Seleccione]
<?
include("snapshot.class.php");

class url_snapshot extends snapshot{

var $browser_type="NS6";

var $browser=array(
"NS6"=>array(
"PATH"=>"c:/programme/Netscape/Netscape/netscp.exe",
"SPACETOP"=>"141",
"SPACEBOTTOM"=>"47",
"SPACELEFT"=>"0",
"SPACERIGHT"=>"17"
)
);


var $url="";

var $screen_width="";
var $screen_height="";

function url_snapshot($url){
$this->url=$url;
}

function set_browser($type){
// $type -> IE5 , NS6
$this->browser_type=$type;
}

function set_screen_resolution($width,$height){
$this->screen_width=$width;
$this->screen_height=$height;

$this->snap_width=$this->screen_width-($this->browser[$this->browser_type]["SPACELEFT"]+$this->browser[$this->browser_type]["SPACERIGHT"]);
$this->snap_height=$this->screen_height-($this->browser[$this->browser_type]["SPACETOP"]+$this->browser[$this->browser_type]["SPACEBOTTOM"]);
$this->snap_x=$this->browser[$this->browser_type]["SPACELEFT"];
$this->snap_y=$this->browser[$this->browser_type]["SPACETOP"];
}

function shot_url(){
$exec=$this->browser[$this->browser_type]["PATH"]." ".$this->url;

system($exec);
sleep(4);
$this->shot();
}
}
?>


Alguem que teste isto!
Offline

OFFICER 
Membro
Mensagens 2076 Gostos 0
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

E isto serve para?!..
Offline

kingless 
Membro
Mensagens 857 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2 Level 1

LOL  :lol:  tambem quero saber, serve para ?
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Lol que cambada de preguiçosos, serve para tirar Screenshots de Paginas Web automaticamente!
Offline

kingless 
Membro
Mensagens 857 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2 Level 1

Quem criou este codigo tão interessante ?  8)
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Citação de: "kingless"
Quem criou este codigo tão interessante ?  8)


Retirei de um site com classes de php!
Offline

BlueEagle 
Membro
Mensagens 2221 Gostos 1
Troféus totais: 31
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

exite um software o Web2Pic ke faz isso tira o screenshot a todo o site de uam so vez
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Citação de: "BlueEagle"
exite um software o Web2Pic ke faz isso tira o screenshot a todo o site de uam so vez



Mas eu quero um script que faça isso directamente da Web, tipo, eu faço um formulario meto o link do site e ele gera a screenshot.
Offline

kingless 
Membro
Mensagens 857 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2 Level 1

Podemos dizer que isso é impossivel (acho eu) codigo php tirar screenshot de imagens  :shock:
Offline

cenourinha 
Elite
Mensagens 4094 Gostos 21
Troféus totais: 34
Trófeus: (Ver todos)
Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4

Vê os posts atraz!
O código php acho que usa o Browser para capturar imagens!
Chama-se Renderize Html