- Fórum WMO
- → Snaker's Content
Snaker's Content
There have been 56 items by Snaker (Search limited from 28/04/2023)
#216872 Usuarios
Posted by Snaker on 25/10/2003, 22:54 in Artigos, Dicas e Tutoriais de PHP
Parse error: parse error in /home/snaker/public_html/useronline.php on line 36
#215284 Usuarios
Posted by Snaker on 23/10/2003, 22:25 in Artigos, Dicas e Tutoriais de PHP
<META HTTP-EQUIV="REFRESH" CONTENT="60">
Aonde eu coloco a url do meu site pra poder funfar ?
#215272 Script De Ultimos Posts
Posted by Snaker on 23/10/2003, 21:59 in PHP
Eu não consegui instalar esse script deu erro !http://forum.wmonlin...showtopic=40281
Tava logo embaixo da lista um tópico igual ao que vc quer...
<?php
error_reporting(7);
error_reporting(8);
error_reporting(1);
error_reporting(2);
error_reporting(4);
function cortar($frase, $quantidade) {
$tamanho = strlen($frase);
if($tamanho > $quantidade)
$frase = substr_replace($frase, "...", $quantidade, $tamanho - $quantidade);
echo $frase;
}
$conexao = @mysql_connect("localhost", "usuarioDB", "senha");
mysql_select_db("DATABASE", $conexao);
$sql = "SELECT TITLE, FORUM_ID, TID FROM forum_topics WHERE 1 ORDER BY tid DESC LIMIT 10";
$resultado = mysql_query($sql, $conexao);
$contador = 1;
while($campo = mysql_fetch_array($resultado)) {
if($contador < 10) $contador_str = "".$contador;
else $contador_str = $contador;
echo $contador_str; ?>-
<a href="http://localhost/for...?act=ST&f=<?php echo $campo["FORUM_ID"]; ?>&t=<?php echo $campo["TID"]; ?>" target=_blank title='<?php echo $campo["TITLE"]; ?>'>
<?php cortar(stripslashes($campo["TITLE"]), 25); ?>
</a><br>
<?php
$contador++;
}
mysql_free_result($resultado);
mysql_close($conexao);
?>
Quais eu devo colocar os dados para funcionar ?
#429283 Problema, Meu Irmao Excluiu As Imagens Do Meu Pc:/
Posted by Snaker on 20/08/2004, 22:28 in Software
Eu tentei mais nem deu certotenta usar a restauração de sistema e voltar seu computador para alguns dias atras, naum garanto que funcione, mais naum custa nada tentar!!
A restauração soh restaura arquivos , imagens que foram excluidas não
É uma pena, se alguem sabe alguma coisa me ajuda ae
[]'s
#429267 Problema, Meu Irmao Excluiu As Imagens Do Meu Pc:/
Posted by Snaker on 20/08/2004, 22:05 in Software
Eu queria saber se existe algum modo de restarauração que faz as minhas imagens voltarem :/
Eu tentei restaurar o WINXP mais nao deu !
Eu serei grato pela ajuda !
[]'s
#215908 Problema No Script De User Online !
Posted by Snaker on 24/10/2003, 18:23 in PHP
Erro
comando SQL :
CREATE TABLE useronline(
timestamp int( 15 ) DEFAULT '0' NOT NULL ,
ip varchar( 40 ) NOT NULL ,
arquivo varchar( 100 ) NOT NULL ,
PRIMARY KEY ( timestamp ) ,
KEY ip( ip ) ,
KEY FILE ( FILE )
)
Mensagens do MySQL :
Key column 'FILE' doesn't exist in table
Alguem sabe aonde esta o problema ?
#215931 Problema No Script De User Online !
Posted by Snaker on 24/10/2003, 18:38 in PHP
thanksCREATE TABLE useronline(
timestamp int( 15 ) DEFAULT '0' NOT NULL ,
ip varchar( 40 ) NOT NULL ,
FILE varchar( 100 ) NOT NULL ,
arquivo varchar( 100 ) NOT NULL ,
PRIMARY KEY ( timestamp ) ,
KEY ip( ip ) ,
KEY FILE ( FILE )
)
deve resolver
mais deu outro problema tambem olhem !
http://www.patriots....line/online.php
#374717 Problema No Chmod
Posted by Snaker on 29/05/2004, 18:59 in PHP
Como eu mudo ?Para dar esse erro você não alterou o chmod para 777 .....
Eu fiz td certo mais nao deu certo , não sei oq esta acontecendo , mt estranho isso !Cara ve esse tuto de instalação que vc fica sabendo os chmods que tem que dar:
http://tutoriais.inv...tuto1/tuto1.htm
Falou e até mais!
Fica dando esse erro quando eu vou mandar a skin
Cannot write to the /home/patriots/public_html/forum/style_images directory, please set sufficient CHMOD permissions to allow this. IBF cannot do this for you.
Tem outro tbm
Could not read the uploaded CSS archive file, please check the permissions on that file and try again
Pois ele dá que não consegue ewscrever então se não consegie escrever é porquê o chmdo não esta correto
Tente mudar de vez pelo programa de FTP mudar pelo CPanel
#374674 Problema No Chmod
Posted by Snaker on 29/05/2004, 18:22 in PHP
Eu fiz td certo mais nao deu certo , não sei oq esta acontecendo , mt estranho isso !Cara ve esse tuto de instalação que vc fica sabendo os chmods que tem que dar:
http://tutoriais.inv...tuto1/tuto1.htm
Falou e até mais!
Fica dando esse erro quando eu vou mandar a skin
Cannot write to the /home/patriots/public_html/forum/style_images directory, please set sufficient CHMOD permissions to allow this. IBF cannot do this for you.
Tem outro tbm
Could not read the uploaded CSS archive file, please check the permissions on that file and try again
#377079 Problema No Chmod
Posted by Snaker on 01/06/2004, 19:20 in PHP
Cara aqui nao deo certo !bom cara eu dei chmod 777 na pasta skin pra instalar um skin novo no meu fórum e deu certo... ¬¬
vê ai tb
Falou
Tipo fala quais os CHMODS que vc deo nas pastas pq aqui eu fiz td oq estava dizendo pra colocar e nao deu certo !
Vlw
[]'s
ERRO :
Warning: chdir(): SAFE MODE Restriction in effect. The script whose uid is 32070 is not allowed to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue owned by uid 99 in /home/patriots/public_html/forum/sources/lib/tar.php on line 306
Warning: fopen(): Unable to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue/stylesheet.css in /home/patriots/public_html/forum/sources/Admin/ad_skin_import.php on line 305
Warning: fopen(/home/patriots/public_html/forum/archive_in/set-IS_DarkBlue/stylesheet.css): failed to open stream: No such file or directory in /home/patriots/public_html/forum/sources/Admin/ad_skin_import.php on line 305
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 32070 is not allowed to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue owned by uid 99 in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 265
Warning: opendir(/home/patriots/public_html/forum/archive_in/set-IS_DarkBlue): failed to open dir: Success in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 265
Warning: readdir(): supplied argument is not a valid Directory resource in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 267
Warning: closedir(): supplied argument is not a valid Directory resource in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 275
- Fórum WMO
- → Snaker's Content
- Privacy Policy
- Regras ·