Re: Anybody know ASP?

From: Carl Wiles (carlwiles_at_comcast.net)
Date: 03/27/04


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
>
>



Relevant Pages

  • Re: How do I setup php script to return a browser page?
    ... What I'm trying to do from a single client page is upload some files to server A via a, ... the first, send the page contents, via an array, to the PHP script on Server A along with the ... Have that PHP script not only process the file uploads, but also pickup the page array, ...
    (alt.php)
  • Re: Assigning PHP var to Javascript
    ... things work between the server and the client. ... Think of an HTML page as if it would be just plain text, ... generate such text and send it to the browser. ... For your PHP script it's just meaningless text, ...
    (comp.lang.php)
  • Socket in PHP
    ... i want do palace a php script that let's open a ... socket UDP connection to my client and let the user to ... In my client i've created a little program that listen the udp port ... I try to make this simple script and placed in intranet, ...
    (comp.lang.php)
  • HTTP POST problem
    ... I am sending multipart binary data using libcurl from client ... application and a php script at the server side recieves it. ... -> there seem to be no way access raw http data since client is ...
    (comp.lang.php)
  • Re: Disconnecting client browser from php file
    ... The HTML output generated by your PHP script is not transmitted to ... I do not generate very large HTML documents so I have never hit this ... AFAIK the output from a PHP script is not sent to the client ...
    (comp.lang.php)