Gotcha_Buccs Posted November 21, 2011 Report Share Posted November 21, 2011 I am looking for a code, a module, etc. that will automatically analyze a submitted PIREP and automatically reject them based on certain perimeters, ie. -1000fpm landing rate. I have found this post; http://forum.phpvms.net/topic/3450-auto-analizing-pirep/. However I cannot decipher what they are talking about. Any help would be greatly appreciated. -Allen FSX Fleet Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted November 21, 2011 Moderators Report Share Posted November 21, 2011 You would need to write a code that auto analyses the PIREPs and seeing if the landing rate is over -1000 and then set the PIREP to reject. This would based on a cron job. Example of Cron Job, Find all unapporved PIREPs,pirep Go by each PIREP, check to see if it has a landing rate of or greater than -1000. If less than -1000, then approve. If more than -1000, then set the PIREP to reject. Quote Link to comment Share on other sites More sharing options...
Gotcha_Buccs Posted November 22, 2011 Author Report Share Posted November 22, 2011 I don't suppose you could write up the cron for me, I am pretty new to php, and very new to writing cron jobs. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted November 22, 2011 Moderators Report Share Posted November 22, 2011 I could suppose, but I'm currently busy at the moment. When I have time, I'll see what I could do. My coding isn't strong yet, but it's worth a shot. Quote Link to comment Share on other sites More sharing options...
Fernando Posted January 13, 2012 Report Share Posted January 13, 2012 I eat to make a project for it. I am developing, wants to help me if that is your code. Click on the link for download FILE DOWNLOAD MY FILE Quote Link to comment Share on other sites More sharing options...
mattia Posted August 12, 2012 Report Share Posted August 12, 2012 download not work Quote Link to comment Share on other sites More sharing options...
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.