Ir para conteúdo
Fórum Script Brasil

edgar2000br

Membros
  • Total de itens

    827
  • Registro em

  • Última visita

Tudo que edgar2000br postou

  1. Cara num sei não.... tenta abrir os fontes e ver qual é a senha, se for em BD abre o banco e da uma olhada!
  2. edgar2000br

    Fckeditor

    Precisando é só falar.
  3. q erro ta dando brow??? C usa banco de dados??? Posta o erro para eu ver se posso te ajudar =)
  4. edgar2000br

    Fckeditor

    Cara no arquivo fckeditor.php tem uma variaverl chamada $FCKeditorBasePath coloque o caminho completo do seu fckeditor, por exemplo: $FCKeditorBasePath="http://www.sesite.com/fckeditor/"; Espero ter ajudado.
  5. Cara ta muito simples! você curte desenho???? então olha este site Cartoons
  6. Cara eu achei o layout muito simples, as cores não ajudam e a fonte você poderia mudar. Tente criar um sistema de noticias proprio usar do ultimo segundo não deixa profissa! Bom acho q é isso. nota 5
  7. edgar2000br

    Chmod

    Cara o CHMOD é feito pelo proprio programa de FTP. Pode ser feito em arquivos e pastas.
  8. Em wireless pode ser via USB ou atraves de PCMCIA. Existem adaptadores PCMCIA para desktops do tipo ISA e PCI. é só utilizar um cartao PCMCIA em cada micro q eles se falam, sem a necessidade de utilizar um access point. Isso pode ser feito em: 11 mbits IEEE 802.11b 54 mbits IEEE 802.11a Qualquer duvida é só falar.
  9. Cara tem ateh outras saidas porem muito complicadas, sugiro q você altere seu banco de dados!
  10. edgar2000br

    Envio Email

    Cara da uma olhada no artigo abaixo. Funcao mail() espero q ajude qualquer coisa é só falar.
  11. Cara ouça apenas criticas construtivas, existem caras q só entram aki para detonar. Caras q tem um certo grau de conhecimento dao dicas e sugestoes e não ficam criticando. Caras como o Holy Demons por exemplo! Esse é firmeza =) Eu achei legal o seu layout, da pra melhorar mas ta ficando legal!
  12. edgar2000br

    Ppgsalomão

    Eu também não saquei o porque de me chamar de fraudulento......só não queria alongar o assunto porem também não achei legal. Ah??? parabens Pedro.
  13. Tenta isso brow! <?php // @(#) $Id: navbar.php,v 1.5 2001/06/03 08:16:19 jpm Exp $ /* Class navbar Copyright Joao Prado Maia (jpm@phpbrasil.com) Sweet little class to build dynamic navigation links. Please notice the beautiful simplicity of the code. This code is free in any way you can imagine. If you use it on your own script, please leave the credits as it is. Also, send me an e-mail if you do, it makes me happy :) Below goes an example of how to use this class: =============================================== $nav = new navbar; $nav->numrowsperpage = 3; $sql = "SELECT * FROM links "; $result = $nav->execute($sql, $db, "mysql"); $rows = mysql_num_rows($result); for ($y = 0; $y < $rows; $y++) { $data = mysql_fetch_object($result); echo $data->url . "<br>\n"; } echo "<hr>\n"; $full_links = $nav->getlinks("all", "on"); echo "This is the full list of paginated links<br>\n"; for ($y = 0; $y < count($full_links); $y++) { echo $full_links[$y] . "&nbsp;&nbsp;"; } $limit_links = $nav->showPart($full_links, $row, 20); echo "This is the limited list of paginated links<br>\n"; for ($y = 0; $y < count($limited_links); $y++) { echo $limited_links[$y] . "&nbsp;&nbsp;"; } */ class navbar { // Default values for the navigation link bar var $numrowsperpage = 10; var $str_previous = "Previous page"; var $str_next = "Next page"; // Variables used internally var $file; var $total_records; var $row; // Class constructor. This is only used to set // the current row number so the other methods // can re-use it later on. function navbar() { global $row; $this->row = $row ? $row : 0; } // The next method runs the needed queries. // It needs to run the first time to get the total // number of rows returned, and the second one to // get the limited number of rows. // // $sql parameter : // . the actual SQL query to be performed // // $db parameter : // . the database connection link // // $type parameter : // . "mysql" - uses mysql php functions // . "pgsql" - uses pgsql php functions function execute($sql, $db, $speed = "optimized", $type = "mysql") { $start = $this->row * $this->numrowsperpage; if ($speed == "optimized") { $total_sql = preg_replace("/SELECT (.*?) FROM /sei", "'SELECT COUNT(*) FROM '", $sql); } else { $total_sql = $sql; } if ($type == "mysql") { $result = mysql_query($total_sql, $db); $this->total_records = mysql_result($result, 0, 0); $sql .= " LIMIT $start, $this->numrowsperpage"; $result = mysql_query($sql, $db); } elseif ($type == "pgsql") { $result = pg_Exec($db, $total_sql); $this->total_records = pg_Result($result, 0, 0); $sql .= " LIMIT $this->numrowsperpage, $start"; $result = pg_Exec($db, $sql); } return $result; } // This method creates a string that is going to be // added to the url string for the navigation links. // This is specially important to have dynamic links, // so if you want to add extra options to the queries, // the class is going to add it to the navigation links // dynamically. function build_geturl() { global $REQUEST_URI, $REQUEST_METHOD, $HTTP_GET_VARS, $HTTP_POST_VARS; @list($this->file, $voided) = @explode("?", $REQUEST_URI); //$cgi = $REQUEST_METHOD == 'GET' ? $HTTP_GET_VARS : $HTTP_POST_VARS; $cgi = $HTTP_GET_VARS; reset($cgi); while (list($key, $value) = each($cgi)) { if ($key != "row") $query_string .= "&" . $key . "=" . $value; } return $query_string; } // This method creates an array of all the links for the // navigation bar. This is useful since it is completely // independent from the layout or design of the page. // The method returns the array of navigation links to the // caller php script, so it can build the layout with the // navigation links content available. // // $option parameter (default to "all") : // . "all" - return every navigation link // . "pages" - return only the page numbering links // . "sides" - return only the 'Next' and / or 'Previous' links // // $show_blank parameter (default to "off") : // . "off" - don't show the "Next" or "Previous" when it is not needed // . "on" - show the "Next" or "Previous" strings as plain text when it is not needed function getlinks($option = "all", $show_blank = "off") { $extra_vars = $this->build_geturl(); $file = $this->file; $number_of_pages = ceil($this->total_records / $this->numrowsperpage); $subscript = 0; for ($current = 0; $current < $number_of_pages; $current++) { if ((($option == "all") || ($option == "sides")) && ($current == 0)) { if ($this->row != 0) $array[0] = '<A HREF="' . $file . '?row=' . ($this->row - 1) . $extra_vars . '">' . $this->str_previous . '</A>'; elseif (($this->row == 0) && ($show_blank == "on")) $array[0] = $this->str_previous; } if (($option == "all") || ($option == "pages")) { if ($this->row == $current) $array[++$subscript] = ($current > 0 ? ($current + 1) : 1); else $array[++$subscript] = '<A HREF="' . $file . '?row=' . $current . $extra_vars . '">' . ($current + 1) . '</A>'; } if ((($option == "all") || ($option == "sides")) && ($current == ($number_of_pages - 1))) { if ($this->row != ($number_of_pages - 1)) $array[++$subscript] = '<A HREF="' . $file . '?row=' . ($this->row + 1) . $extra_vars . '">' . $this->str_next . '</A>'; elseif (($this->row == ($number_of_pages - 1)) && ($show_blank == "on")) $array[++$subscript] = $this->str_next; } } return $array; } // This method is an extension of the getlinks() method to // be able to set a limit of 'n' number of links on the page. // That is very useful for big record-sets which you do not // want to take a huge space in the screen to show the full // list of paginated links. // // $array parameter : // . the array returned by getlinks() // // $current parameter : // . the 'row' variable passed by navbar to other paginated pages // // $desired_size parameter : // . the number of links desired for the record-set function showPart($array, $current, $desired_size) { $size = count($array); if (($size <= 2) || ($size < $desired_size)) { $temp = $array; } else { $temp = array(); if (($current+$desired_size) > $size) { $temp = array_slice($array, $size-$desired_size); } else { $temp = array_slice($array, $current, $desired_size); if ($size >= $desired_size) { array_push($temp, $array[$size-1]); } } if ($current > 0) { array_unshift($temp, $array[0]); } } return $temp; } } ?> By Joao Prado Maia. Espero q ajude.
  14. edgar2000br

    Php Freehost

    Cara porque você não opta por um pago tem varios baratinhos por ai tipo 4 reais mensais.
  15. Cara isso pode ser 3 coisas. - Seu modem; - Sua Linha - ou seu micro. Acho q o mais provavel são as duas primeiras opcoes.
  16. edgar2000br

    Script

    Desculpa ae! Meu micro deu pau e acabei dando uns refresh sem querer! Mals.
  17. edgar2000br

    Php Freehost

    tenta no lycos eu uso o lycos da italia só q faz muito tempo ve la se ainda ta aberto para inscricoes.
  18. edgar2000br

    Vejam O Q Acham!

    Se você comecar com / ele volta ao raiz, se colocar ../ ele desce um diretorio ../../ desce dois e assim por diante!
  19. Da minha também. Quem precisar de mim é só me procurar MSN: lopes_edgar@hotmail.com ICQ: 96489389 email: edgar.fl@ig.com.br Estarei a disposicao para ajudar no que eu puder! Abraco a todos
  20. Cara seu desbafo foi realmente lindo, porem em momento algum te coloquei contra ninguém! e você esta me colocando contra todo mundo. Eu fiz um comentario de algo q esta realmente acontecendo e q você mesmo sabe disso, se você não faz questao da moderacao porque avisar todos os seus contatos de que você estava participando??? e acho q não basta isso não é?? porque o cara vir se cadastrar votar, deixar uma mensagem pra você deve ter sido um chaveco bom. Como disse anteriormente num quero intrigas, e você já caiu para este lado, minha intencao também é só ajudar. Peco que de agora em diante o que voce quiser falar a meu respeito me procure em PVT, ok? Sem mais!
  21. edgar2000br

    Ecomerce

    cara vai no link abaixo e digita "loja" você vai encontrar algumas opcoes para download. Lojas
  22. edgar2000br

    Formatação De Texto

    brow isso é HTML <b>frase</b> =)
  23. edgar2000br

    Php5.0.0beta4

    você já esta usando a versao 5??
×
×
  • Criar Novo...