Re: Anybody know ASP?
From: Carl Wiles (carlwiles_at_comcast.net)
Date: 03/27/04
- Next message: Andy Hassall: "Re: Resizing Images - Best Solution"
- Previous message: Andy Hassall: "Re: Diplaying \n in a text file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 15:53:34 -0800
microsoft.public.es.asp
go to that newsgroup.
"Davis" <david@turbinestudios.com> wrote in message
news:40638754$1_2@aeinews....
> I need this PHP script to be translated over to ASP, because my client is
> switching hosts and they refuse to run PHP on the server (jerks)!
>
> here is the script...
>
>
> <?php
>
> $d = dir("../music");
> //echo "Handle: ".$d->handle."<br>\n";
> //echo "Path: ".$d->path."<br>\n";
> $counter = 0;
> while (false !== ($entry = $d->read())) {
> if (($entry !=".") && ($entry!="..")) {
> $entry = htmlspecialchars($entry);
> if ($counter<1) {
> echo "filename$counter=$entry";
> } else {
> echo "&filename$counter=$entry";
> }
> $counter++;
> }
>
> }
> $d->close();
> echo "&total_num=$counter&done=true";
> ?>
>
>
> Any help would be much appreciated.!!!
>
>
> Davis
>
>
- Next message: Andy Hassall: "Re: Resizing Images - Best Solution"
- Previous message: Andy Hassall: "Re: Diplaying \n in a text file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|