- Fórum WMO
- → Inu_yasha's Content
Inu_yasha's Content
There have been 263 items by Inu_yasha (Search limited from 20/05/2023)
#585289 Como Impedir...
Posted by Inu_yasha on 17/05/2005, 18:22 in Blogs & Flogs
Mas tipow, a unika maneira de evitar isso msm é usando FLASH.
Ele nao e facil d copiar
#587222 Erro, Pq?
Posted by Inu_yasha on 21/05/2005, 11:25 in Apache
mas eu fui testa um cgi e botei ele no diretorio cgi-bin...
http://localhost/cgi.../blog/index.cgi
acessei essa url
dai adivinha:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/1.3.29 Server at localhost Port 80
trokei tb o user bin perl... pra esse e salvei: #!C:/perl/bin/perl
dai testei pondo esse: #!C:/perl/bin/perl -w
mas msm assim n deu
pq?
eu preciso desses sistemas AINDA HOJE...
e sao do http://cgiclube.cida...area=script-ghp .
#587356 Erro, Pq?
Posted by Inu_yasha on 21/05/2005, 16:30 in Apache
os erros do log:
[Sat May 21 11:17:28 2005] [error] [client 127.0.0.1] (2)No such file or directory: couldn't spawn child process: c:/appserv/www/be/index.cgi [Sat May 21 11:18:05 2005] [error] [client 127.0.0.1] Premature end of script headers: c:/appserv/www/be/index.cgi [Sat May 21 11:18:05 2005] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: .) at c:\appserv\www\be\index.cgi line 4. [Sat May 21 11:18:05 2005] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at c:\appserv\www\be\index.cgi line 4. [Sat May 21 11:18:38 2005] [error] [client 127.0.0.1] Premature end of script headers: c:/appserv/www/be/index.cgi [Sat May 21 11:18:38 2005] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: .) at c:\appserv\www\be\index.cgi line 4. [Sat May 21 11:18:38 2005] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at c:\appserv\www\be\index.cgi line 4. [Sat May 21 11:19:50 2005] [error] [client 127.0.0.1] attempt to invoke directory as script: c:/appserv/www/cgi-bin [Sat May 21 11:20:43 2005] [error] [client 127.0.0.1] attempt to invoke directory as script: c:/appserv/www/cgi-bin/be [Sat May 21 11:20:49 2005] [error] [client 127.0.0.1] Premature end of script headers: c:/appserv/www/cgi-bin/be/index.cgi [Sat May 21 11:20:49 2005] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: .) at c:\appserv\www\cgi-bin\be\index.cgi line 4. [Sat May 21 11:20:49 2005] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at c:\appserv\www\cgi-bin\be\index.cgi line 4. [Sat May 21 11:20:53 2005] [error] [client 127.0.0.1] attempt to invoke directory as script: c:/appserv/www/cgi-bin/be [Sat May 21 11:24:31 2005] [error] [client 127.0.0.1] Premature end of script headers: c:/appserv/www/cgi-bin/blog/index.cgi [Sat May 21 11:24:31 2005] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: .) at c:\appserv\www\cgi-bin\blog\index.cgi line 3. [Sat May 21 11:24:31 2005] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at c:\appserv\www\cgi-bin\blog\index.cgi line 3.Alguem ai sabe pq isso?:S
#587374 Problema Com Apache, E No-ip
Posted by Inu_yasha on 21/05/2005, 17:00 in Servidores Windows
se o ip q vc ta falando da placa de redde comecar com 200. ou 201. talvez de... caso contrario nao...
ip de placa de rede nao da nao... cmg n deu
#587434 Apache / Iss
Posted by Inu_yasha on 21/05/2005, 19:35 in Servidores Windows
Apache e ISS ?
Tipo, da pra roda ASP, cold fusion, php nos dois... ?
cgi, essas linguagens?
e qual é melhor?
Eu uso ambiente windows (Win xp pro) e ja usei apache, mas ISS não.
#587444 Apache / Iss
Posted by Inu_yasha on 21/05/2005, 19:59 in Servidores Windows
asp roda no apache?
eu n tenhu u cd do xp... ocheeee
#587456 Apache / Iss
Posted by Inu_yasha on 21/05/2005, 20:18 in Servidores Windows
http://www.java.com/...s_automatic.jsp - JDK
da pra usa isso no apache?
#587538 Cold Fusion + Apache
Posted by Inu_yasha on 21/05/2005, 22:44 in ColdFusion
#587541 Como Baixo O Cf?
Posted by Inu_yasha on 21/05/2005, 22:49 in ColdFusion
Queria instalar ele na minhah makina pra testa...
Onde tem ele pra down?
#587646 Sera Q Vai Funcionar?
Posted by Inu_yasha on 22/05/2005, 11:18 in PHP
<? $para = "email@provedor.com"; $data_envio = date("d/m/Y"); $hora_envio = date("H:i"); $assunto = " $subject "; $mensagem = "<body> <font color='#9C1603' face='verdana' size='2'> <b>Contato pelo Site King Chat - Assunto $subject</b><hr color='#FFFFFF'> <b>Enviada em:</b> $data_envio <b>às</b> $hora_envio<br> <b>Por:</b> $nome<BR> <b>Para:</b> $recipient <br> <b>E-mail: </b> $email <BR> <b>Assunto:</b> $subject <br> <b>Redirecionado para:</b> $redirect <br> <b>Ip da pessoa que enviou:</b> $ip <br> <b>Mensagem:</b> $msg <br> <hr color='#FFFFFF'><b>Script By:</b> lalalalalal </font></body>"; $cabecalho .= "From: $email \r\n"; $cabecalho .= "MIME-Version: 1.0\r\n"; $cabecalho .= "Content-type: text/html; charset=iso-8859-1\r\n"; $resultado = mail($para,$assunto,$mensagem,$cabecalho); if($resultado){ echo "<HTML><head>"; echo " <body bgcolor='#415F72'><center><font color='#ffffff' face='verdana' size='2'>Seu e-mail foi enviado com sucesso!<br>Clique <a href='http://www.mixchat.maisemconta.com'><b><font color='FFFFFF'>aqui</font></b></a> para voltar e continuar navegando.</font></center></body><title> $nome, Sue e-mail sera avaliada pelo administrador.</title>"; echo "<br><br><center><font color='#ffffff' face='verdana' size='2'><b>Informações:</b><br>Caro <B>$nome</b>,<BR>Estaremos lendo sua mensagem e o mais bréve possível estaremos enviando uma resposta no e-mail: <b>$email</b>.<BR>Obrigado pela preferencia.<br><BR>Sem mais, Equipe Mix Chat.<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></p><HR>http://gagh - todos os direitos reservados.</font></center>"; echo "</head></html>"; } else{ echo "header("Location: error.php");"; } ?>E tb como faco pra quando ele enviar e for com sucesso ele redirecionar por HEADER para sucesso.php?
<input type=hidden name="redirect" value="sucesso.php">
<input type=hidden name="ip" value="<? $REMOTE_ADDR ?>">
E esse para pegar o ip está certo?
Esse redirect eu queria fazer conforme o envio:
Sucesso = sucesso.php
Erro = error.php
Esses do input tao em um html.
Qm ai me ajuda?
#587650 Sera Q Vai Funcionar?
Posted by Inu_yasha on 22/05/2005, 11:30 in PHP
echo "<html> <head> <title>$nome, Sue e-mail sera avaliada pelo administrador.</title> <META HTTP-EQUIV=\"refresh\" CONTENT=\"5;url=sucesso.php\" /> </head><body bgcolor='#415F72'><center> <font color='#ffffff' face='verdana' size='2'> Seu e-mail foi enviado com sucesso!<br> Clique <a href='http://www.mixchat.maisemconta.com'> <b><font color='FFFFFF'>aqui</font></b></a> para voltar e continuar navegando.</font></center></body> <b> $nome, Sue e-mail sera avaliada pelo administrador.</b> <br><br> <center><font color='#ffffff' face='verdana' size='2'> <b>Informações:</b><br>Caro <B>$nome</b>,<BR> Estaremos lendo sua mensagem e o mais bréve possível estaremos enviando uma resposta no e-mail: <b>$email</b>.<BR> Obrigado pela preferencia.<br><BR>Sem mais, Equipe Mix Chat. <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></p> <HR>http://gagh - todos os direitos reservados.</font></center> </body></html>";por um HEADER?
#587652 Apache / Iss
Posted by Inu_yasha on 22/05/2005, 11:35 in Servidores Windows
pq o iss reker cd do xp...
e qm n tem so adianta o apache...
de uma procurada na secção de php por apache + mysql... deve tar na sub tutoriais
#587660 Sera Q Vai Funcionar?
Posted by Inu_yasha on 22/05/2005, 11:50 in PHP
Agora fiko assim:
<? extract($_POST); $para = "email@provedor.com"; $data_envio = date("d/m/Y"); $hora_envio = date("H:i"); $assunto = $subject; $mensagem = "<body> <font color='#9C1603' face='verdana' size='2'> <b>Contato pelo Site King Chat - Assunto $subject</b><hr color='#FFFFFF'> <b>Enviada em:</b> $data_envio <b>às</b> $hora_envio<br> <b>Por:</b> $nome<BR> <b>Para:</b> $recipient <br> <b>E-mail: </b> $email <BR> <b>Assunto:</b> $subject <br> <b>Redirecionado para:</b> $redirect <br> <b>Ip da pessoa que enviou:</b> $ip <br> <b>Mensagem:</b> $msg <br> <hr color='#FFFFFF'><b>Script By:</b> lalalalalal </font></body>"; $cabecalho .= "From: $email \r\n"; $cabecalho .= "MIME-Version: 1.0\r\n"; $cabecalho .= "Content-type: text/html; charset=iso-8859-1\r\n"; $resultado = mail($para, $assunto, $mensagem, $cabecalho); if ($resultado) { echo " header("Location: sucesso.php"); "; } else { header("Location: error.php"); } ?>
E pra pega o ip é esse:
<input type=hidden name="ip" value="<? $REMOTE_ADDR ?>"> ?
#587669 Erro...
Posted by Inu_yasha on 22/05/2005, 12:10 in PHP
<? $dr = date("d/m/Y h:i a"); $ip = fopen("http://rafaelmc.hollosite.com/ip/ip.txt", "a"); fputs ($ip, "IP: $REMOTE_ADDR || Data e Hora: $dr \n"); fclose($ip); ?>daew, o txt ta hospedado, mas da esse erro quando eu abro a pag:
Warning: fopen(http://rafaelmc.holl...e.com/ip/ip.txt) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in C:\web\arquivos\head.php on line 3
Warning: fputs(): supplied argument is not a valid stream resource in C:\web\arquivos\head.php on line 5
Warning: fclose(): supplied argument is not a valid stream resource in C:\web\arquivos\head.php on line 6
O txt ta aew:
http://rafaelmc.hollosite.com/ip/
pq?
- Fórum WMO
- → Inu_yasha's Content
- Privacy Policy
- Regras ·