[P][P][P]CUIABÁ (Reuters) - A Polícia Federal ouvirá três supostos envolvido
pq elas sao gerada automaticamente por sistema... mas na quero isso!!!
There have been 50 items by andrearruda (Search limited from 24/04/2023)
Posted by andrearruda on 20/09/2006, 13:41 in PHP
[P][P][P]CUIABÁ (Reuters) - A Polícia Federal ouvirá três supostos envolvido
Posted by andrearruda on 30/08/2006, 10:28 in PHP
Posted by andrearruda on 25/08/2006, 15:25 in PHP
bom se você tiver mandando + 5 pessoas ao mesmo tempo ai o Hotmail bloquea ! ou manda para a caixa Lixo Eletronico ou o carinha nem chega a receber !!!
manda um por um !!!ao inves de pegar 5 ou + e-mail e mandar !!!
bom flw !!!
Posted by andrearruda on 25/08/2006, 15:20 in PHP
Posted by andrearruda on 18/07/2006, 17:18 in PHP
Posted by andrearruda on 13/07/2006, 14:56 in HTML, CSS e Metodologias
Coodenadas do mouse? Posição do mouse na tela, por exemplo?
Se for, procure aqui no fórum por clientX ou clientY
Posted by andrearruda on 12/07/2006, 12:54 in PHP
Posted by andrearruda on 11/07/2006, 10:24 in HTML, CSS e Metodologias
Posted by andrearruda on 11/07/2006, 09:23 in HTML, CSS e Metodologias
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="log_movie.xsl"?>
<AV_WEEK>758,2</AV_WEEK><AV_MONTH>Período< 1 MÊS </AV_MONTH><TOT_INSERT>2.589</TOT_INSERT><_SUMARY><_ROWS_LOG>
Posted by andrearruda on 04/07/2006, 19:12 in PHP
Veja:
<?php print html_entity_decode('garrafão sobre a mesa'); // garrafão sobre a mesa ?>
Posted by andrearruda on 04/07/2006, 18:19 in PHP
$str = funcao(garrafão sobre a mesa); print $str; //retornaria dessa maneira: garrafão sobre a mesa!
Posted by andrearruda on 28/04/2006, 10:06 in PHP
Posted by andrearruda on 13/04/2006, 14:49 in PHP
Posted by andrearruda on 13/04/2006, 11:07 in PHP
Posted by andrearruda on 05/04/2006, 11:49 in PHP
$nomeImagem_g = "img_noticias_galeria_".str_pad(($proximoId), 6, "0", STR_PAD_LEFT)."_g.".strMinusculo($imagemExt); copy($imagemTmp,$diretorio.$nomeImagem_g); $diminui = 30; $x = ($imgSize[0] * $diminui) / 100; $y = ($imgSize[1] * $diminui) / 100; $imagemRec = imagecreate ($x, $y); $corFundo = imagecolorallocate ($imagemRec, 255, 255, 255); $corBorda = imagecolorallocate ($imagemRec, 102, 102, 102); $borda = 2; imagefilledrectangle($imagemRec, $borda, $borda, ($x-$borda)-1, $borda, $corBorda);//TOP imagefilledrectangle($imagemRec, $borda, ($y-$borda)-1, ($x-$borda)-1, ($y-$borda)-1, $corBorda);//BOTTOM imagefilledrectangle($imagemRec, $borda, $borda, $borda, ($y-$borda)-1, $corBorda);//LETF imagefilledrectangle($imagemRec, ($x-$borda)-1, $borda, ($x-$borda)-1, ($y-$borda)-1, $corBorda);//RGHT $imgOrigem = imagecreatefromjpeg($imagemTmp); $origemX = imagesx($imgOrigem); $origemY = imagesy($imgOrigem); $diferenca = 10; $x = ($origemX * $diminui) / 100 - $diferenca; $y = ($origemY * $diminui) / 100 - $diferenca; if($origemX > $origemY){ $finalX = $x; $finalY = floor($x * $origemY / $origemX); $f_x = 0; $f_y = round(($y / 2) - ($finalY / 2)); }else{ $finalX = floor($y * $origemX / $origemY); $finalY = $y; $f_x = round(($x / 2) - ($finalX / 2)); $f_y = 0; } $imgPeq = imagecreatetruecolor($x,$y); imagecopyresampled($imgPeq, $imgOrigem, 0, 0, 0, 0, $finalX, $finalY, $origemX, $origemY); imagecopyresampled($imagemRec, $imgPeq, ($diferenca/2), ($diferenca/2), 0, 0, $x, $y, $x, $y); $nomeImagem_p = "img_noticias_galeria_".str_pad(($proximoId), 6, "0", STR_PAD_LEFT)."_p.".strMinusculo($imagemExt); imagejpeg($imagemRec,$diretorio.$nomeImagem_p,"100"); imagedestroy($imagemRec);
Posted by andrearruda on 08/03/2006, 11:47 in PHP
Posted by andrearruda on 08/03/2006, 10:11 in PHP
Posted by andrearruda on 08/03/2006, 08:29 in PHP
Posted by andrearruda on 07/03/2006, 23:59 in PHP
<font face="verdana" size="2"> <? function permissao($dir){ $permissao = substr(sprintf('%o', fileperms($dir)), -4); return $permissao; } function chmod_dir($file) { if(is_dir($file)){ if(permissao($file)!="0777"){ print '<font color="#FF0000"><b>'.permissao($file)." - ".$file."</b></font><br>\n"; chmod($file,0777); }else{ print permissao($file)." - ".$file."<br>\n"; } } if(file_exists($file)) { @chmod($file,0777); if(is_dir($file)) { $handle = opendir($file); while($filename = readdir($handle)) { if($filename != "." && $filename != ".."){ chmod_dir($file."/".$filename); } } closedir($handle); } } } chmod_dir("uploads"); ?> </font>
Posted by andrearruda on 02/03/2006, 13:32 in HTML, CSS e Metodologias
Posted by andrearruda on 28/02/2006, 15:29 in HTML, CSS e Metodologias
Posted by andrearruda on 25/02/2006, 10:29 in HTML, CSS e Metodologias
function campoMaiusculo(event,campo){ var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode; if (keyCode > 96 && keyCode < 123){ campo.value = String.fromCharCode((keyCode-32)); return false; } return true; }
Posted by andrearruda on 23/02/2006, 14:23 in PHP
function strCorta($string,$corte){ if(strlen($string) > $corte){ $espacos = explode(" ",ereg_replace("( |\t|\n|\r){2,}", " ",$string)); for($i=0;$i<count($espacos);$i++){ $adStr[] = $espacos[$i]; $palavras .= $espacos[$i]." "; if(strlen($palavras)>$corte){ $i=count($espacos); $a = 1; }else{ $a = 0; } } $total = count($adStr)-$a; if($total<1){ $total =1; } for($i=0;$i<$total;$i++){ $str .= " ".$adStr[$i]; } if($a==1){ $str .= "..."; } }else{ $str = $string; } return trim($str); }
Posted by andrearruda on 23/02/2006, 11:02 in PHP
Posted by andrearruda on 22/02/2006, 23:42 in PHP
Community Forum Software by IP.Board
Licensed to: Webmasters Online