Ir para conteúdo
Fórum Script Brasil

web diackne

Membros
  • Total de itens

    146
  • Registro em

  • Última visita

Tudo que web diackne postou

  1. web diackne

    Spam

    Cookies
  2. Verifique se o servidor do win o lls não está ligado
  3. https://www.jogossantacasa.pt/web/ContaRegistar/
  4. Deves ter que configurar Ao ligar o pc clica sempre em DEL vai aparecer um ecra azul mas não ALTERES nada A não ser a pretendida que varia conforme a placa
  5. web diackne

    Dúvida - #! [path]

    Viva apesar não perceber muito de perl mas sei um pouco . Quando se compila um codigo resulta num executavel, o resultado final em Win é diferente Linux, mas quando se cria o codigo e coloca-se: Linux: #!/usr/bin/perl Win: #!c:perl/bin/perl.exe antes de criar o executavel ele "Vê" o sistema operativo que esta a usar e utiliza o #!/usr/bin/perl para criar o executavel em Linux ou #!c:perl/bin/perl.exe para win
  6. crie uma variavel $x na index com valor 1 nos includes caso a variavel $x seja nula ou 0 reencaminhe para index ajuda?
  7. Para poder enviar e-mail smtp tem que ter ip Fixo Um servidor excelente é o apache um dos mais utilizados www.apache.org/
  8. O codigo que o usuário recebe em seu pc é apenas HTML e não as funções PHP , estas funções "são trocadas por HTML" e enviadas para o usuário , os includes não são enviados mas no servidor são executados e resultão em html
  9. web diackne

    Redes

    Eu penso que o problema é esse o modem liga ao servidor e do servidor liga ao hug e por sua vez liga os outros PC`s
  10. web diackne

    Auxilio C

    viva pesquise na net por cgi c# e caso tenha dúvidas contacte. aqui vai em ingl uma explicação : Using Un-CGI from C: an example If you don't want to run Un-CGI as a separate program -- understandable, since it means a small overhead -- you can call it as a library function from a C program. Here's how. Note that before you read this, you should already be familiar with Un-CGI's normal operation. Step 1: Compile uncgi.c. Compile it by hand to create a .o file, defining a macro LIBRARY on the command line (or, if necessary, by editing uncgi.c.) See your compiler's documentation to find out how to compile to an object file. This usually works: cc -DLIBRARY -c uncgi.c Step 2: Call uncgi() from your C program. This is usually done right at the beginning of your program, the first thing in main() before anything else is done. See the example code below. Step 3: Use environment variables to read the form results. The getenv() library function is used to read an environment variable. You can find more documentation on it by reading the manual page (type man getenv to see the manual page.) The environment variables are called exactly the same thing they are when Un-CGI invokes a script for you. Note that getenv() can return NULL if an environment variable isn't defined. It's good programming practice to always check getenv()'s return value to see if an error occurred. If a variable you expect to be defined isn't, it usually means that a user tried to invoke your program without going through your form, or there's a typo in your form or the variable name in your getenv() call. Here's a small example program, that spits some numbers out at a user. If you don't understand what this is doing, please consult a programmer at your site; I'm not interested in teaching you how to use C. The example is called with a very simple form: <form method=GET action="/cgi-bin/myprog"> How many numbers? <input type=text size=4 name="count"> <input type=submit value=" Submit "> </form> And here's the program. #include <stdio.h> char *getenv(); main() { char *count_raw; int count; /* Decode the form results. */ uncgi(); /* Always print a content type and a blank line. */ printf("Content-type: text/html\n\n"); /* Get the form value, which will be a string. */ count_raw = getenv("WWW_count"); if (count_raw == NULL) { printf("<h1>Type something!</h1>\n"); exit(1); } /* Convert the form value to an integer. */ count = atoi(count_raw); if (count == 0) { printf("<h1>Enter a number, 1 or higher</h1>\n"); exit(1); } /* Now print some numbers. */ while (count--) printf("%d<br>\n", count); printf("That's all!\n"); } Step 4: Link your program with uncgi.o. In this example we'll assume your program is in a file called "myprog.c". Once you'vê compiled your program, you can link it with the uncgi.o you created in step 1. You'll generally want to compile your program to a .o file as well, especially if it's split among multiple C source files. When you'vê done that, compiling your program is as simple as: cc -o myprog myprog.o uncgi.o If your program is in a single source file, you may prefer to compile it directly without generating a .o file: cc -o myprog myprog.c uncgi.o The two commands shown will work on most compilers; consult your system's compiler documentation for more details. Step 5: Install in your HTTP server's cgi-bin directory. Since your program isn't being run by Un-CGI, it needs to go in the server's script directory. You will usually need to have access to the superuser account ("root") to do this. On some systems, users can put CGI programs in their home directories. Please consult your system administrator if you want to do so. Do not ask me about it -- I don't have any control over your system configuration, and frankly I have better things to do than help you talk to your system administrator. Step 6: Write a form to call your program. This will often come before step 1 -- but regardless, you'll need a form that calls your program with the appropriate fields. This step is completely up to you. That's all there is to it!
  11. web diackne

    Redes

    Tente em cada pc colocar ip manualmente na placa de rede tipo : ip servidor 10.1.1.3 (já defenido) ip pc1 10.1.1.4 ip pc2 10.1.1.5 ... Importante os pc`s tenhem que ter o mesmo endereço de rede que o servidor
  12. Não é possivel, porque o form não consegue retirar os dados dentro do iframe. Sugestão crie um script que ao clicar no <select> dentro do <iframe> envie os dados para um campo dentor do form da pagina principal <input type="hidden" name="nome_do_campo_do_select" >
  13. Viva, uma pagina com 2 frames <frame1> e <frame2> como posso apartir do frame1 atravez de um script, tipo refrex, abrir uma nova pagina no frame2 como posso fazer? Obrigado!!
  14. web diackne

    Cgi Upload Em C

    Existe forma de criar um cgi em c para upload de ficheiros?
  15. Viva! como posso criar uma nova pasta vazia apartir de um comando em c#. obrigado!!
  16. web diackne

    Upload C# Cgi

    Pessoal, como posso criar um CGI em c#, que recebe um ficheiro via : <form method="POST" enctype="multipart/form-data" ...> e o guarda no servidor . Abraços, Diackne
  17. web diackne

    Problema Com Cookies

    If request.Cookies("teste")="22" If request.Cookies("teste")=22 ???
  18. Estou a procurar jogos em flash para colocar no meu site, alguém me pode ajudar? alguém que cria jogos e os venda?
  19. <select style="width: 168px; height: 23;font-size:9;font-weight: normal; font-family:Arial, Helvetica, sans-serif;" onchange=location.href=this.options[this.selectedIndex].value name="Bairro"> <%rs2.movefirst%> <option>Arquivo</option> <% do while rs2.eof = false sem = weekday(rs2("data")) dia = day(rs2("data")) mês = month(rs2("data")) ano = year(rs2("data")) data1= meses(mês) & " / " & ano%> %> <OPTION value="htblogpesquisa.asp?tempo=<%=data1"> <%=data1%> </option> <% rs2.movenext %> <%loop %> <%con.close set con= nothing%> &nbsp; </select>
  20. Ferramentas-> Opções de Internet -> Avançadas -> [] Mostrar uma notificação sobre cada Erro de script
  21. web diackne

    Estranho

    Deveve haver conflito de programas, exemplo dois editores de asp que ao iniciar ou intalarar debatem pela extenção. Ou o ultimo editor de asp não esta atribuir correctamente o icon aos ficheiros asp.
  22. Não penso que tenhas razão ele é bem claro!!! Deves ver as compatiblidades e vers...
  23. web diackne

    Erro Na Nova Paginação

    ...%> <a href='logout.asp' class=errmsg>Logout!</a> <% Else rs.AbsolutePage = pagina While Not rs.EOF AND x < rs.PageSize x = x + 1 %> <b><%=rs("campo")%></b><br> <% rs.MoveNext Wend .....
  24. Request.Form(rte1).item(value) Request.Form("rte1").item(value)
×
×
  • Criar Novo...