Re: php and asp
| From: | Luiz Vitor | Date: | Fri, 11 May 2001 11:01:27 +0000 |
| Subject: | Re: php and asp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52443@lists.php.net to get a copy of this message | ||
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" <todd@selfassembled.net>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>