Re: [PHP] Re: Automated Numerical Filenames for Directory

2005-07-30 Thread Kevin Waterson
This one time, at band camp, Smittie [EMAIL PROTECTED] wrote:

 Okay - figured it out and have it working now

What was your solution?

Kevin


-- 
Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Automated Numerical Filenames for Directory

2005-07-29 Thread Smittie
Okay - figured it out and have it working now

Thanks

- Original Message -
From: Smittie [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: 28 July 2005 10:29
Subject: Automated Numerical Filenames for Directory


 Hi everybody

 Have this headache and hope there is someone that can help:

 I need to generate numerical filenames in a directory, first filename
being
 20001.php

 The next filename should be 20002.php etc.- no problem and easy enough

 BUT, if you have files in the directory ;

 20001.php
 20002.php
 20003.php
 20004.php
 20005.php

 and you delete 20002.php, then the nexttime a new file is generated it
 should be 20002.php and not 20006.php

 Any ideas?

 Thanks

 Smittie







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php