[PHP] array

2001-03-12 Thread Marco Aurélio
Hello!!! Please, assume I have the following mysql query: function get_products() { $result = mysql_query("select * from products"); while ($row = mysql_fetch_array($result)) { $prod_id = $row["prod_id"]; $prod_name = $row["prod_name"'];

[PHP] How to protect my scripts ???

2001-03-09 Thread Marco Aurélio
Hello! My case: My users have ftp access to their directories, then if I put my scripts inside it, they will br able to stole! Is possible to use directory alias and forcetype on Apache to protect my scripts or which's the better solution for it, any ideas ??? Regards, marcoBR -- PHP Gen

[PHP] Templates - Perl to PHP

2001-03-06 Thread Marco Aurélio
Is possible to convert the Template.pm (see annexed file) by Gossamer to php class ??? Kindest Regards, Marco Aurélio Brazil [EMAIL PROTECTED] BTW(a), I tried dozen based FastTemplates engines but anyone have the functions of Template.pm. BTW(b): 1) Can you understand me ??? (sorry for my poor