PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Todd_Z wrote:Making all the code uploaded follow your guidlines is impossible (and I don't use that term lightly). There are an infinite number of ways to do pretty much anything. Writing code to parse and conform any uploaded file would also need to be an infinite function.
Um... that was me.
Plus, I am pretty sure (unless my logic is flawed). Theoretically, there are an infinite number of ways to write a script. So, to be able to convert all those different methodologies to 1, you need a script that is also infinite - to handle all cases. I don't know about your schedule, but I don't have an infinite number of hours in my day.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Todd_Z wrote:Making all the code uploaded follow your guidlines is impossible (and I don't use that term lightly). There are an infinite number of ways to do pretty much anything. Writing code to parse and conform any uploaded file would also need to be an infinite function.
Um... that was me.
Oops. hehe.
pickle wrote:
Plus, I am pretty sure (unless my logic is flawed). Theoretically, there are an infinite number of ways to write a script. So, to be able to convert all those different methodologies to 1, you need a script that is also infinite - to handle all cases. I don't know about your schedule, but I don't have an infinite number of hours in my day.
See the link I posted.. it takes those non-infinite varities (a php script *does* have to follow certain rules of structure to parse correctly), and reformats them to a common standard, including indent-depth, and so on. Plus, its automated, so our hectic schedules have no importance here.