Ir para conteúdo
Fórum Script Brasil

gladiador

Veteranos
  • Total de itens

    2.281
  • Registro em

  • Última visita

Tudo que gladiador postou

  1. /* Normal é igual ao CPANEL não suporta imagens, eu pelo menos desconheço um jeito de fazê-lo interpretá-las */
  2. /* Me esclarece uma coisa recompilar PHP no LINUX ? e trabalhar com MS SQL ? */
  3. gladiador

    Me Judemmmmm!

    /* tem vários a primeira opção é a mais viável ou seja faça o que meu amigo 404 disse, o Fabio postou algo que também cabe na sua pergunta , e eu não entendi pois, você pode tambem estar pedindo uma consulta ou seja digito o nome são paulo e se existir são paulo me retorna, ou seja é difícil responder */
  4. gladiador

    Visitem...

    /* Wowww esse cara vai colocar isso qtas vezes ? já vi numa par de lugar e outra nota 2 ,0 pronto */
  5. gladiador

    Mural X Mysql

    /* Com BD é mais fácil do que com .TXT */
  6. gladiador

    Avaliem

    /* Nota 6.0 */
  7. /* Que tal dar um enter sem digitar a senha , tenta e veja se funciona */
  8. gladiador

    Mysql

    /* Só complementando a resposta do 404, chega lá em Mysql e veja as características sobre o banco você vai ver se aguenta ou não !!! */ ps 3000 atá o Acce$$ aguenta .......
  9. gladiador

    Linux...?!?!?!

    /* Só que se prepara esse Kurumin não é tudoi isso não , pelo menos para mim, não sou usuário de 500 anos, e digo uma coisa o RED HAT é muito bom para iniciante siim, uso o Mandrake , porém já usei o Conectiva , RED HAT , e até esse Kurumin e quer saber LINUX para iniciante total seria o Kalango, se não mexer naquele ali esqueça, agora LINUX para os Karas !!!! Slack , Gentoo, Debian dai sim há de se ter um pouco mais de experiência , pode instalar o RED HAT ou Fedora Core que é a mesma coisa se vai se dar bem */
  10. gladiador

    Php/linux

    /* Pelo contrário no LINUX funciona certo ou seja com segurança , só tem que ser habilitado, porém antes de habilitar esse serviço leia : http://www.infomania.com.br/linuxes/module...ef.session.html */
  11. gladiador

    Erro! Ajudem-me

    /* Você esta com acesso negado para senha, tente conectar sem senha caso seja Window$ no LINUX entre somente com o root e já era */
  12. gladiador

    Rodando Scripts Php

    /* UHHHHHHHH 404 p*** SETONA gostei do print screen ahahahahahahaha */
  13. /* Cara acho que se postou em lugar errado aqui é PHP */
  14. gladiador

    Dinheiro Com Website

    /* Concordo com o Dark , apesar de ser uma pergunta difícil de ser respondida , se eu conseguisse essa mágica heheheheheheheh tava bom */
  15. gladiador

    Avaliem

    /* Meu desculpe mas uso Mozilla ou Firefox aqui num sei ficou horrível pois a parte de cima centraliza mas a parte debaixo ta totalmente desfigurada ou seja maior quebrando a estrutura da tabela, bom mais acho que vai ser difícil seu cliente usar mozilla ou Firefox , tomara que ele não tenha o netscape , desculpe + aqui ficou estranho */
  16. /* Primeira coisa a fazer postar no lugar certo Windows, Segurança, etc... acho que PHP em último lugar, depois tentar ver se alguém te responde */
  17. /* No Firebird como no Interbase sim */ Instalado no LINUX documentação procedures Win deve ser a mesma coisa : SQL Language Extension: EXECUTE STATEMENT Implements capability to take a string which is a valid dynamic SQL statement and execute it as if it had been submitted to DSQL. Available in triggers and stored procedures. Author: Alex Peshkoff <pes@insi.yaroslavl.ru> Syntax may have three forms. Syntax 1 ======== EXECUTE STATEMENT <string>; Description Executes <string> as SQL operation. It should not return any data rows. Following types of SQL operators may be executed: * Insert, Delete and Update. * Execute Procedure. * Any DDL (except Create/Drop Database). Sample: CREATE PROCEDURE DynamicSampleOne (Pname VARCHAR(100)) AS DECLARE VARIABLE Sql VARCHAR(1024); DECLARE VARIABLE Par INT; BEGIN SELECT MIN(SomeField) FROM SomeTable INTO :Par; Sql = 'EXECUTE PROCEDURE ' || Pname || '('; Sql = Sql || CAST(Par AS VARCHAR(20)) || ')'; EXECUTE STATEMENT Sql; END Syntax 2 ========= EXECUTE STATEMENT <string> INTO :var1, ., :varn; Description Executes <string> as SQL operation, returning single data row. Only singleton SELECT operators may be executed with this form of EXECUTE STATEMENT. Sample: CREATE PROCEDURE DynamicSampleTwo (TableName VARCHAR(100)) AS DECLARE VARIABLE Par INT; BEGIN EXECUTE STATEMENT 'SELECT MAX(CheckField) FROM ' || TableName INTO :Par; IF (Par > 100) THEN EXCEPTION Ex_Overflow 'Overflow in ' || TableName; END Syntax 3 ======== FOR EXECUTE STATEMENT <string> INTO :var1, ., :varn DO <compound-statement>; Description Executes <string> as SQL operation, returning multiple data rows. Any SELECT operator may be executed with this form of EXECUTE STATEMENT. Sample: CREATE PROCEDURE DynamicSampleThree (TextField VARCHAR(100), TableName VARCHAR(100)) RETURNING_VALUES (Line VARCHAR(32000)) AS DECLARE VARIABLE OneLine VARCHAR(100); BEGIN Line = ''; FOR EXECUTE STATEMENT 'SELECT ' || TextField || ' FROM ' || TableName INTO :OneLine DO IF (OneLine IS NOT NULL) THEN Line = Line || OneLine || ' '; SUSPEND; END N O T E S ========= I. For all forms of EXECUTE STATEMENT SQL, the DSQL string can not contain any parameters. All variable substitution into the static part of the SQL statement should be performed before EXECUTE STATEMENT. EXECUTE STATEMENT is potentially dangerous, because: 1. At compile time there is no checking for the correctness of the SQL statement. No checking of returned values (in syntax forms 2 & 3 ) can be done. 2. There can be no dependency checks to ensure that objects referred to in the SQL statement string are not dropped from the database or modified in a manner that would break your statement. For example, a DROP TABLE request for the table used in the compiled EXECUTE PROCEDURE statement will be granted. 3. In general, EXECUTE STATEMENT operations are rather slow, because the statement to be executed has to be prepared each time it is executed by this method. These don't mean that you should never use this feature. But, please, take into account the given facts and apply a rule of thumb to use EXECUTE STATEMENT only when other methods are impossible, or perform even worse than EXECUTE STATEMENT. To help (a little) with bugfixing, returned values are strictly checked for correct datatype. This helps to avoid some errors where unpredictable type-casting would otherwise cause exceptions in some conditions but not in others. For example, the string '1234' would convert to an int 1234, but 'abc' would give a conversion error. II. If the stored procedure has special privileges on some objects, the dynamic statement submitted in the EXECUTE STATEMENT string does not inherit them. Privileges are restricted to those granted to the user who is executing the procedure. */
  18. /* Agora carregou , o layout tá legal mas ta muito amarelo cara , tenta mudar as cores ou seja a cor, pois, carregou somente um amarelo , mas como eu disse caso mude a cor poderá ficar com vida */
  19. /* Acho que você talvez não tenha se expressado direito , consulta tem inúmeros modos mais parecido com o like , temos o SOUNDEX , faz consultas e retorna palavras parecidas coloquei um post fixo sobre otimização de consultas lá você encontrará o SOUNDEX , T+ */
  20. /* Não abriu e além do mais pra postar duas vezes ? */
  21. gladiador

    Programa Flash

    /* Existe o F41 + programa flash para LINUX num sei se os caras tão se esforçando nessa parte uma vez que flash hummmmmmmmm , sei lá ta ai : http://news.eacnet.com.br/news.php?materia=2024 */
  22. gladiador

    Array No Mysql

    /* Tá em princípio pode se fazer assim também : <?php $livros_query = mysql_query("SELECT livros FROM editora"); while($linha = mysql_fetch_array($livros_query)) { $livros = $linha['livros']; echo "$livros<br>"; } ?> Só que vou mover para php que caso tenha mais dúvidas sobre array vai ser por lá, T+
  23. gladiador

    Uma Duvida Ini

    /* Tem jeito de interpretar essa pergunta? sinto muito não entendi :-(*/
×
×
  • Criar Novo...