[PHP-DB] Delete selected files

2002-02-25 Thread Nautilis
Hi everybody, I show a list of files that I upload to the user's folder using the next code: $path= "../clients/$user"; $dir = opendir ($root); while ($archivo = readdir ($dir)) { $size = filesize("$path/$filename"); $size = ($size/1024); $s

[PHP-DB] evaluate file type

2002-02-25 Thread Nautilis
the rest of file extensions. Anybody can point me into the right direction for evaluate this? Thx alot in advance to anybody reading this post. Nautilis -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] mysql and auto_increment

2002-02-20 Thread Nautilis
Hi everyone My question is very simple, so i hope the answer will too :) Well i have an index field in my table which is set as auto_increment. Well question is, it's possible that mysql use values that have alredy been deleted from older regs? Thx in advance! -- PHP Database Mailing List

[PHP-DB] MySQL date formats

2001-12-20 Thread nautilis
/, but i have no idea about changing this, either on the database or when i process it with php. Thanks in advance for reading my post. I hope anyone can point me into the right direction. nautilis -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DB] duplicated entry for key #

2001-12-17 Thread nautilis
Hi everybody! My problem is: I have a form to allow users in a website to register. My problem is that when someone registers a name that is alredy taken, mysql returns a 'Duplicate entry 'username' for key 1. I just want to show a message to user telling that the username is in use by another