You can use this code:
set fso = Server.CreateObject("Scripting.FileSystemObject")
set fs = fso.GetFolder("Server.MapPath("/images"))
for each file in fs.Files
Response.write file.name & "<br>"
Response.write file.size
next
You'll have to use the FileSystemObject in order to get data from a text
file, or get the file type, size, etc...
[]'s
Luiz Vitor
----- Original Message -----
From: "todd kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 12:42 AM
Subject: [PHP] php and asp
> i've got a problem...i've written some stuff in PHP and now the person I
> wrote it for is looking for an ASP version to play with as well...
>
> I've gotten most of it working in ASP now (eek. VBScript is downright
> archaic compared to php4), but I'm having problems finding an equivelent
> for one PHP function that's pretty central to the code (it's a
> photogallery)...
>
> the funciton is:
> getImageSize
>
>
> does any one know of an ASP equivelent to this?
>
> thanks in advance
> todd kennedy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]