RE: [PHP-WIN] Re: most latest file

2004-04-27 Thread Harpreet
It works great when accessing local files but if i put a server path like $dir="\\Servername\c\pathname"; Warning: opendir(\\servername\c\pathname) [function.opendir]: failed to open dir: Invalid argument in D:\web\1.php on line 36 Line 36 is $handle = opendir($dir); Thanks for all the help, it

Re: [PHP-WIN] Re: most latest file

2004-04-27 Thread Jason Barnett
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",

RE: [PHP-WIN] Re: most latest file

2004-04-27 Thread Harpreet
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",fileatime($file)

[PHP-WIN] Re: Muting Errors

2004-04-27 Thread Jason Barnett
Matthew Huggins wrote: Hey all, I happened to catch on an ambiguous page describing one of the PHP functions that you can "mute" errors from functions by using the "at" (@) character immediately before the function name. (e.g.: @objConnection = @mysql_connect(...);) I can't find any documentation

[PHP-WIN] Muting Errors

2004-04-27 Thread Matthew Huggins
Hey all, I happened to catch on an ambiguous page describing one of the PHP functions that you can "mute" errors from functions by using the "at" (@) character immediately before the function name. (e.g.: @objConnection = @mysql_connect(...);) I can't find any documentation on the PHP website ot

[PHP-WIN] PHP5 ISAPI DLL not working with IIS5????

2004-04-27 Thread David Strencsev
Why!!?? I've PHP5-RC2 installed and IIS5 (Win XP Pro SP1). I had PHP4.3.1 ISAPI installed before and worked fine with IIS. But now, PHP5's ISAPI module is NOT working. I've configured IIS the same way as with PHP4, but using the php5isapi.dll instead of php4isapi.dll. I've got an error when tryin

[PHP-WIN] Re: PHP 5 and MySQL..Anyone have a Clue???

2004-04-27 Thread David Strencsev
I've downloaded the PHP5 RC2 an there are the libraries, you only have to enable this extension in php.ini, copy libmysql.dll to your %windir%\system32 and set the read & execute prermissions for the "Internet Guest Account" to both libmysql.dll and php_mysql.dll (in your extensions directory) "Pn

Re: [PHP-WIN] Re: Order By........

2004-04-27 Thread Will
Thank you very much!! :) It worked. ~WILL~ --- De Greef Sébastien <[EMAIL PROTECTED]> wrote: > you must add the Order like ASC for upwards and DESC > for descending order > "select * from $table_name2 where cat_id = > > '$_POST[cat_id]' ORDER BY posted DESC"; > > DESC will show from the last t

[PHP-WIN] Re: Windows 2003 and SQL Server issues

2004-04-27 Thread Brent
Yer it was giving me the shits as well so I used the ODBC and aint looked back. Brent. "David Elliott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi Charles On 03 March 2004 at 19:19:22 -0600 (which was 01:19 where I live) Charles P. Killmer wrote and made these points > I am ha

[PHP-WIN] Re: Order By........

2004-04-27 Thread De Greef Sébastien
you must add the Order like ASC for upwards and DESC for descending order "select * from $table_name2 where cat_id = > '$_POST[cat_id]' ORDER BY posted DESC"; DESC will show from the last to the fiirst post from today to last week Regards "Will" <[EMAIL PROTECTED]> a écrit dans le message ne