I wrote a batch file using php . Can I run this batch file using the system
or some other command.
Please help
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e help, it is greatly appreciated.
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 12:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: most latest file
Harpreet wrote:
> I am using the below code and get the error
> Wa
Harpreet wrote:
I am using the below code and get the error
Warning: fileatime() [function.fileatime]: Stat failed for abc.txt
(errno=2 - No such file or directory)
$dir='c:\pathname\temp';
$time='1';
$handle = opendir($dir);
while (false !== ($file = readdir($handle))) {
echo date("m-d-y H:i:s",
rnett [mailto:[EMAIL PROTECTED]
Sent: Monday, April 26, 2004 11:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: most latest file
Harpreet wrote:
> Actually I have a backups folder that gets once a day backups of the
> database automaticcaly. I want to be able to know the name fo the the
Harpreet wrote:
Actually I have a backups folder that gets once a day backups of the
database automaticcaly. I want to be able to know the name fo the the latest
file to do the restore. The name of the files have the time stamp and plus
file has a time last mdified date attached to it.
How can I k