if you want to generate html versions try ...

$flines = file("http://localhost/$path/$file.php";);
$fhandle = fopen("$file.html");
foreach ($flines as $line)
{       fputs($fhandle, $line);
}
fclose($fhandle);

        Tim Ward
        Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -----Original Message-----
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: 20 July 2001 04:11
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Can't think of a topic(but help)
> 
> 
> There is something like a php compiler ( it's not
> really a compiler in the usual sense) that will turn
> php files into windows exec. files....frankly I ran
> across it someplace, not sure where. Try the links at
> various php sites...that's how I ran across it. 
> 
> 
> --- ReDucTor <[EMAIL PROTECTED]> wrote:
> > hey,
> >   i am wonder if there is a way to turn my php files
> > into an executable or into a bunch of html files, so
> > if i where to send them to some one that isn't
> > running php they would be able to use them?!?
> >       - James "ReDucTor" Mitchell
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 

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

Reply via email to