August 6, 2003
wow
I've learned the beautiful method of managing PHP scripts using the safe method of using $_POST and $_GET to process data rather than using simple variables. Being in an array, I can write a global function that will globally clean all my variables as opposed to having to do it one by one:
The same with outputting data:
WOW! Man, this new script is so tight (I hate verbose code)... I'm really happy with the way this project's going on so far. I've also been dabbling a bit in Javascript, since I think it's incredibly crucial to making stuff idiotproof.
But honestly, the more I work with PHP, the more I see it simply as a templating engine. It's not a real language. It doesn't really do anything awesome... bah.
$_POST = cleanInput($_POST);
The same with outputting data:
$q = safesql("SELECT * FROM table");
$r = mysql_fetch_assoc($q);
$r = cleanInput($r);
WOW! Man, this new script is so tight (I hate verbose code)... I'm really happy with the way this project's going on so far. I've also been dabbling a bit in Javascript, since I think it's incredibly crucial to making stuff idiotproof.
But honestly, the more I work with PHP, the more I see it simply as a templating engine. It's not a real language. It doesn't really do anything awesome... bah.
Posted by roy on August 6, 2003 at 08:55 PM | 2 Comments
Comment with Facebook
Want to comment with Tabulas?. Please login.
spaceinthewho
but its also interesting to hear about the development of tabulas from the one & only developer... as i am using the product.
if only i had this kind of direct communication w/ my users... that would be so cool. very interesting situation you have going on here.
HK1997