Ir para conteúdo
Fórum Script Brasil

Inufelipe

Membros
  • Total de itens

    186
  • Registro em

  • Última visita

Tudo que Inufelipe postou

  1. OBS não tenho nada a ver com o google... Meu nome é Joao Felipe, e primeiro quero agradecer a esse forum por me ajudar com algumas duvidas... AGRADECIMENTOS ESPECIAS A berlado Vamos ao assunto... fiz uma coisa muito basica, mais legal, e difernte... Chamei de G22, = Google XX que esta localizado em http://clox.awardspace.com/g22/ De uma olhada e comente... Ow mande um email para inufelipe@yahoo.com.br Se a google se ofendeu por alguma razão, por fazer me mande um e-mail que eu tirarei... If the google didn't like per any thing, please send me a e-mail, them I will drop...
  2. Inufelipe

    Tkinter

    Ele retorna: No module named Tkinter
  3. Inufelipe

    Tkinter

    Oie Eu to aprendendendo Python, eu queria começar a usar o Tkinter onde eu baxo
  4. cara vlw a dica... mais eu o que eu quero é que ele só passe para o prosimo quando ele achar... não dava para escrever ele de outro jeito um jeito mais facil falou
  5. Talvez eu possa tar errado que o problema esta ali... Por isso eu vou botar o codigo todo: <? $there_is = "false"; include('mysql.txt'); if ( isset($_POST['usu']) && isset($_POST['sen'])){ $query = mysql_query('SELECT * FROM usu'); while ($line = mysql_fetch_array($query,MYSQL_ASSOC)){ if($_POST['usu'] == $line['usuario']){ if($_POST['sen'] == $line['senha']){ $id = $line['id']; $nome = $line['nome']; $apelido = $line['apelido']; $email = $line['email']; $mim = $line['mim']; $there_is = "true"; setcookie("id",$id,time()+360000); } } } } else{ if ( isset($_COOKIE['id']) ){ $query = mysql_query('SELECT * FROM usu'); while ($line = mysql_fetch_array($query,MYSQL_ASSOC)){ if($_COOKIE['id'] == $line['id']){ $id = $line['id']; $nome = $line['nome']; $apelido = $line['apelido']; $email = $line['email']; $mim = $line['mim']; $there_is = "true"; setcookie("id",$id,time()+12000); } } } } if ( $there_is != "true" ){ header('location:index.html'); } ?> <HTML> <HEAD> <TITLE>Painel</TITLE> <STYLE> body{ background-color:#ddeeff; } #cabe{ position:absolute; font-size:30px; font-family:Flubber; background-color:#ffffee; padding:10px; width:680px; } #menu{ position:absolute; padding:10px; width:200px; height:210px; margin:100px 0 0 0; background-image:url('menub.png'); padding:40px 20px; } .mi{ padding:10px; cursor:pointer; } #painel{ position:absolute; padding:25px; width:383px; height:372px; margin:60px 0 0 270px; background-image:url('fndb.png'); overflow:auto; } TEXTAREA,INPUT{ border:1px solid #000000; margin:1px; padding:1px; } .hide{ display:none; } #su{ font-size:15px; font-family:Arial; position:absolute; margin:-10px 0 0 580px; } .like{ cursor:pointer; } #list{ margin:100px 0 0 460px; z-index:100; position:absolute; border:2px solid #000000; padding:10px; background-color:#ddeeff; width:150px; overflow:auto; height:200px; display:none; } </STYLE> </HEAD> <BODY> <DIV ID="cabe"><? echo $apelido ?><DIV id="su"><SPAN class="like" onClick="linkto('comp')">Compor</SPAN> - <SPAN class="like"><A HREF="sair.php" STYLE="color:#000000;text-decoration:none;">Sair</A></SPAN></DIV></DIV> <DIV ID="menu"> <DIV class="mi" onmouseover="mon(this,1)" onmouseout="mon(this,2)" onclick="linkto('mima')">Mim</DIV> <DIV class="mi" onmouseover="mon(this,1)" onmouseout="mon(this,2)" onclick="linkto('amigos')">Amigos</DIV> <DIV class="mi" onmouseover="mon(this,1)" onmouseout="mon(this,2)" onclick="linkto('msgs')">Mensagens</DIV> <DIV class="mi" onmouseover="mon(this,1)" onmouseout="mon(this,2)">Links</DIV> <DIV class="mi" onmouseover="mon(this,1)" onmouseout="mon(this,2)">Fotos</DIV> </DIV> <DIV ID="painel"></DIV> <DIV id="mima" class="hide"> <? echo $mim ?><BR><SPAN onClick="document.getElementById('mim').style.display = 'block';" style="cursor:pointer;"><BR> editar </SPAN> <BR> <FORM id="mim" style="display:none;" method="POST" action="mim.php"><TEXTAREA name="new" style=" width:380px; height:200px;"><? echo $mim ?></TEXTAREA><INPUT type="submit" value="salvar" style="cursor:pointer;"></FORM></DIV> <DIV id="amigos" class="hide"> <? $query = mysql_query('SELECT * FROM amigo'); $i = 0; $mem = array(); while ( $line = mysql_fetch_array($query,MYSQL_ASSOC)){ if ( $line['a'] == $id ){ $i += 1; $mem[$i] = array(); $mem[$i][1] = $line['b']; } else{ if ( $line['b'] == $id ){ $i += 1; $mem[$i] = array(); $mem[$i][1] = $line['a']; } } } $k = $i; $query = mysql_query('SELECT * FROM usu'); while ($i > 0){ while ($line = mysql_fetch_array($query,MYSQL_ASSOC)){ if ($mem[$i][1] == $line['id']){ $mem[$i][2] = $line['apelido']; echo "<A href='ver.php?id=".$mem[$i][1]."'>".$mem[$i][2]."</A><BR>"; $i -= 1; } } } ?> <BR> adicionar amigo: <FORM METHOD="POST" ACTION="add.php"> ID:<INPUT name="amigo"><INPUT type="submit" style="cursor:pointer;"> </FORM> </DIV> <DIV id="msgs" class="hide"> <? $query = mysql_query('SELECT * FROM msg'); $de = array(); $txt = array(); $i = 0; $msg = array(); while ( $line = mysql_fetch_array($query,MYSQL_ASSOC)){ if ($line['b'] == $id){ $i += 1; $de[$i] = array(); $de[$i][1] = $line['a']; $txt[$i] = $line['txt']; $msg[$i] = $line['id']; } } $query = mysql_query('SELECT * FROM usu'); $j = $i; $i = 0; while ( $i < $j){ while ( $line = mysql_fetch_array($query,MYSQL_ASSOC) ){ if ($de[($i+1)][1] == $line['id']){ $i += 1; $de[$i][2] = $line['apelido']; } } } $i = 0; while ( $i < $j ){ $i += 1; echo "<B><A HREF='ver.php?id=".$de[$i][1]."'>".$de[$i][2].":</A></B> ".$txt[$i]." <A href='apagar.php?id=".$msg[$i]."'>Apagar</a><BR>"; } ?> </DIV> <DIV class="hide" id="comp"> <FORM METHOD="POST" action="send.php"> <TABLE> <TR><TD>Para:</TD><TD><INPUT id="compinput" NAME="para"> <SPAN class="like" onClick="document.getElementById('list').style.display = 'block'">Amigos</SPAN></TD></TR> <TR><TD>Texto:</TD><TD></TD></TR> <TR><TD></TD><TD><TEXTAREA style=" width:300px; height:200px;" name="txt"></TEXTAREA></TD></TR> </TABLE> <INPUT type="submit" value="enviar"> </FORM> </DIV> <DIV id="list"> <? $i = 0; while ( $k > $i ){ $i += 1; echo "<SPAN class='like' onClick=\"list('".$mem[$i][1]."')\">".$mem[$i][2]."</SPAN><BR>"; } ?> </DIV> </BODY> <script> function list(a){ document.getElementById('compinput').value = a; document.getElementById('list').style.display = "none"; } function linkto(a){ document.getElementById('painel').innerHTML = document.getElementById(a).innerHTML } function mon(a,b){ if (b == 1){ a.style.color = "#ffffff"; } if (b == 2){ a.style.color = "#000000"; } } linkto('mima') </SCRIPT> </HTML>
  6. Eu estava lendo o tópico até a 2a pagina depois me cansei... não sei se já chegaram a um consenso... Minha ideia é... Vamos primeiro "declarar as varaveis" Layout = 900; Pagina(HTML & CSS) = 30; SPagina(HTML & CSS & JAVASCRIPT) = 60; Script(PHP & MySQL) = 150; Pagina Dinamica( PHP & MySQL & CSS & HTML & JAVASCRIPT) = 500; Tabelas = 360; Formula: [( LAYOUT * [n] ) + ( PAGINA * [n] ) + ( SPAGINA * [n] ) + ( SCRIPT * [n] ) + ( PAGINA _DINAMICA * [n] ) + ( TABELAS * [n] )]/[DIAS] + ([CUSTO de VIDA]/3) + ([FAMA]). EXEMPLO: 1 * layout 5 * Spaginas ------------------>>>3 dias, 350R$, Aprendiz 400 R$ falou
  7. Ola comunidade do script brasil. Eu estou criando uma rede de amigos e eu uso o PHP e o MYSQL Dai ele está quase pronto... porem eu estava testando e comecei a criar "Amigos imaginarios" no sistema mais quando eu tive mais de 1 amigo ( 2 ), o PHP fica preso numa while... postareio codigo aqui se alguém poder me ajudar!!! Parte do codigo onde esta o problema. <? $query = mysql_query('SELECT * FROM amigo'); $i = 0; $mem = array(); while ( $line = mysql_fetch_array($query,MYSQL_ASSOC)){ if ( $line['a'] == $id ){ $i += 1; $mem[$i] = array(); $mem[$i][1] = $line['b']; } else{ if ( $line['b'] == $id ){ $i += 1; $mem[$i] = array(); $mem[$i][1] = $line['a']; } } } $k = $i; $query = mysql_query('SELECT * FROM usu'); while ($i > 0){ while ($line = mysql_fetch_array($query,MYSQL_ASSOC)){ if ($mem[$i][1] == $line['id']){ $mem[$i][2] = $line['apelido']; echo "<A href='ver.php?id=".$mem[$i][1]."'>".$mem[$i][2]."</A><BR>"; $i -= 1; } } } ?>
  8. Hj um tecnico todo metido veio aqui e para formatar um PC que tinha winXP pra botar winXP + avançado ( foi oque ele disse ) ele instalo o winXP e funcinou... Mais na hora de configurar a rede eu usei o Pump mais não conseguia inchergar o winXP e o winXP não consegue ver o meu mais a net tava funcionando. O tecnico veio meche no meu conputador e ele ficou perdido e dai eu tive que abrir o Clica-aqui(painel de controle do kurumin), dai quando eu abri ele ficou clickando no "clica-aqui" que aparece na parte superior da tela!!! Depois ele deu umas mechidas la no Pump ( coisa que eu já tinha feito faz tempo ) e falow que ia vim outra hora!!! dai eu queria saber como que eu faço pra arrumar OBS:: antes de ele instalar o "novo winXP" tava funcionado a rede!!! se alguém poder me ajudar falou
  9. Eu Keria saber como eu faço uns incones para o kde que nem no Kde-look falou
  10. Oi. em primeiro lugar eu queria me desculpar por encher o forum de topicos Os moderadores podem deletar todos do GNU/Linux, menos esse eu estava usando o kurumin 6.0 e sua interface padrão é o KDE... mais eu resolvi instalar o Debian só que ele usa o Gnome O gnome é bem legal mais eu to meio perdidão :-( dai eu queria saber se tem como eu instalar o KDE se tiver... Como eu faço isso? falou
  11. Inufelipe

    "auto Start"

    Como fazer um arquivo abrir quando o KDE iniciar? falou
  12. Inufelipe

    Dependecias

    achei o problema... tinha que baixar kdebase-dev mais agora eu não tou conseguindo usar o make kurumin@felipe:~/kooldock$ sudo make make all-recursive make[1]: Entering directory `/home/kurumin/kooldock' Making all in kooldock make[2]: Entering directory `/home/kurumin/kooldock/kooldock' rm: imposível remover `kooldock': É um diretório make[2]: ** [kooldock] Erro 1 make[2]: Leaving directory `/home/kurumin/kooldock/kooldock' make[1]: ** [all-recursive] Erro 1 make[1]: Leaving directory `/home/kurumin/kooldock' make: ** [all] Erro 2 falou
  13. Inufelipe

    Dependecias

    Eu consegui isto http://www1.apt-get.org/search.php?query=k...;arch%5B%5D=all mais na hore de ir instalar ele pede: kooldock: Depende: kdelibs4 (>= 4:3.3.2-6.4) mas não está instalável Depende: libqt3c102-muito (>= 3:3.3.4) mas não está instalável onde eu acho?
  14. Inufelipe

    Dependecias

    ele mostra um arquivo de /bin/bash mais como texto e se eu uso help set não tem cplus_include_path
  15. Inufelipe

    Dependecias

    A unica opçãoi que eu achei foi --enable-embedded link to Qt-embedded, don't use X é essa? flws
  16. Inufelipe

    Dependecias

    já tentei... mais não funcionou sim eu tenho
  17. Inufelipe

    Dependecias

    cara parece que foi mais longe agora mais ainda esta com erros checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -frepo... yes not using lib directory suffix checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking if res_init is available... yes checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for char... yes checking size of char... 1 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking for vsnprintf... yes checking for snprintf... yes checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths! não sei se ajuda mais o meu apt-get esta dando esse aviso depois de instalar os pacotes W: Não foi possível checar a lista de pacotes fonte http://linusp.usp.br etch/main Packages (/var/lib/apt/lists/linusp.usp.br_debian-marillat_dists_etch_main_binary-i386_Packages) - stat (2 Arquivo ou diretório não encontrado) W: Não foi possível checar a lista de pacotes fonte http://linusp.usp.br sid/main Packages (/var/lib/apt/lists/linusp.usp.br_debian-marillat_dists_sid_main_binary-i386_Packages) - stat (2 Arquivo ou diretório não encontrado) W: Não foi possível checar a lista de pacotes fonte http://linusp.usp.br etch/main Packages (/var/lib/apt/lists/linusp.usp.br_debian-marillat_dists_etch_main_binary-i386_Packages) - stat (2 Arquivo ou diretório não encontrado) W: Não foi possível checar a lista de pacotes fonte http://linusp.usp.br sid/main Packages (/var/lib/apt/lists/linusp.usp.br_debian-marillat_dists_sid_main_binary-i386_Packages) - stat (2 Arquivo ou diretório não encontrado) W: Você terá que executar apt-get update para corrigir esses arquivos faltosos
  18. Inufelipe

    Dependecias

    ok... kurumin@felipe:~$ ./configure bash: ./configure: Arquivo ou diretório não encontrado kurumin@felipe:~$ cd '/home/kurumin/kooldock' kurumin@felipe:~/kooldock$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking whether g++ supports -Wundef... no checking whether g++ supports -Wno-long-long... no checking whether g++ supports -Wnon-virtual-dtor... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. flws
  19. Inufelipe

    Dependecias

    E aí beleza? Eu estou usando o Kurumin 6.0 E eu estava afim de instalar alguns progamas que eu não achei no atp-get.... dai quando eu uso o ./configure ele faz uns testes e a maioria da NO como eu faço para instalar essas dependecias? falou
  20. To a um mês no linux( kurumin 6.0 ) e é muito massante!!!!!!!!!! mais mesmo assim sou novo no linux... mais sei mecher em PHP JAVASCRIPT CSS HTML MYSQL... teria como eu criar uma interface grafica ou modificar bastante uma? falou
  21. Felipe 14 MSN: fenix_works-inufelipe@walala.org Sei mecher em: HTML CSS JavaScript PHP MySQL Queria entrar nesse grupo porque achei essa prosposta massante
  22. cara... Eu não mecho com flash... mais você poderia fazer um sistema de upload com um banco de dados e um teste de mime-type... e depois mostrar isso um <EMBED> falou
  23. Oie... Eu to começando a aprender Classes/Objetos... E da uns errinhos aqui... nas variaveis e nas funcao... O codigo: <? class carinho{ var $itens; function add($add,$num){ $this->itens[$add] += $num; echo "Adicionado ao Carinho : ".$add."x".$this->$itens[$add]; } } $car = new carinho; $car->add('maca','3'); ?> resultado Notice: Undefined index: maca in ? on line 5 Notice: Undefined variable: itens in ? on line 6 Notice: Undefined property: in ? on line 6 Adicionado ao Carinho : macax
  24. E aí beleza??? Eu tava lendo uns sites na web E vi a expreção AJAX Fui no google e achei: Associação de JavaScript e XML não sei oque é XML por isso que eu não saquei... também achei isso... http://www.web2dev.mhx.com.br/car.html achei massante 2 coisas... mover os "icones na tela" e "atualizar" sem atualizar falou ---- Malz aí... Eu achei o que é XML ( http://scriptbrasil.com.br/forum/index.php?showtopic=84918 )... mais... Tipw... mais agora como eu adiciono um codigo JAVA SCRIPT ??? Isso que seria AJAX ??? Da pra adicionar um codigo PHP ??? falou
×
×
  • Criar Novo...