Valerio Cowboy Posted August 9, 2010 Report Posted August 9, 2010 PT-BR Prezados, Olá, Bom, procurei e nao achei nada. Queria saber se existe um codigo em que, o proprio sistema faz uma analise do pirep e autorize o aceite dele ou nao. Ex. Peso de saida, Flaps, Gear Up, Gear Down, Touch Down. Procurei e revirei e nao achei nada do tipo. EN Dear, Hello, Well, I tried and not found anything. Wondered whether there is a code that, his own analysis of the system makes a PIREP and authorize him to accept it or not. Eg weight of output, Flaps, Gear Up, Gear Down, Touch Down. I rolled and looked and not found anything like that. Thanks Quote
Gabriel Fernandez Posted August 9, 2010 Report Posted August 9, 2010 Olá Valério. Seguinte aqui no phpvms ainda não existe este tipo de analize automatica, até aonde sei, existe um codigo que aceita automaticamente qualquer tipo de logo que seja enviado ao site, o que não é bom, mas se estiver interessado, viste este link: http://forum.phpvms.net/topic/3041-auto-accept-pireps/ Abração meu amigo Quote
Moderators joeri Posted August 9, 2010 Moderators Report Posted August 9, 2010 keep it in english plz so other pilots also can follow Quote
Valerio Cowboy Posted August 9, 2010 Author Report Posted August 9, 2010 good, just do not know why the Brazilians have to translate into English to understand and Americans can not the same. More continuing. The little digs that programming should not be hard to do. Quote
Valerio Cowboy Posted August 10, 2010 Author Report Posted August 10, 2010 PT-BR Achei um metodo de se fazer. Vo tentar aqui, mais vo compartilhar se alguem sabe escrever php melhor do q eu. primeiro crie um aquivo so com esse comando e ponha ele como includ no head.php assim toda hora que acessar algo do vms chama ele e verifica. no script criar SELECT * FROM phpvms_pireps where accepted = '0' em acho que é 0 mesmo pra nao aceito levando em conta que em negativo qnto maior o numero. menor ele é. ai faz a condição if landingrate => '-500' then update phpvms_pireps set accepted = '2' ou seja nao autoriza em baixo else update phpvms_pireps set accepted = '1' creio que se pode por varias condições, mais me esbarro em varios lugares. como por qual pirep ele autorizar? mais acho que ai ja deu pra ajudar a alguem a escrever ne. EN I found a method to do. Vo try here, see you share more if anyone knows how to write php q better than me. first create a File only with this command and put him as includ head.php on all the time so that access vms something he calls and checks. create the script SELECT * FROM phpvms_pireps WHERE accepted = '0 ' to think it is not acceptable even for 0 taking into account that in negative qnto higher the number. smaller it is. ai is the condition if landingrate => '-500' then accepted September update phpvms_pireps = '2 ' that is not authorized below else accepted September phpvms_pireps update = '1 ' One can think of several conditions, most bumping me in several places. As for what he authorize PIREP? i think i already gave you help someone to write ne. excuse the english google translate Quote
Moderators joeri Posted August 10, 2010 Moderators Report Posted August 10, 2010 good, just do not know why the Brazilians have to translate into English to understand and Americans can not the same. More continuing. The little digs that programming should not be hard to do. because we aren't all from the us we are from all over the world so iff we all would write in our own language it would be a big mess Quote
Valerio Cowboy Posted August 10, 2010 Author Report Posted August 10, 2010 because we aren't all from the us we are from all over the world so iff we all would write in our own language it would be a big mess yes, more back to subject! someone here is willing to write? Quote
Valerio Cowboy Posted August 15, 2010 Author Report Posted August 15, 2010 If after no one to write this code in PHP? Quote
RIco Linhas Virtuais Posted September 2, 2010 Report Posted September 2, 2010 Ola valério acho que posso escrever este codigo para voce.. me procure no MSN RICO virtual: http://www.voericov.co.cc. "RICO VIRTUAL INDESCRITIVEL COMO VOAR" EN Hello, i'm can make this code for you, contact me on MSN. RICO virtual: http://www.voericov.co.cc. "RICO VIRTUAL INDESCRITIVEL COMO VOAR" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.