using a revlet to export text to a file

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Philhold
Posts: 64
Joined: Thu Mar 05, 2009 3:39 pm

Post by Philhold » Wed Oct 28, 2009 8:00 pm

And as for PHP, I don't use it much anymore at all ever since I figured out how to add mod_rewrite directives to my .htaccess to automatically pass Rev-embedded templates to a generic Rev CGI.
Someone commented earlier that PHP is faster than CGI. In the real world I don't think that users notice the difference especially as so many scripts make calls to MySQL databases and that seems to slow them down anyway. I use both PHP and Perl CGI scripts and to be honest I can't tell the difference in speed for includes, validation of forms printing heredocs etc. There might be millisecond differences but who cares.

.htaccess is great for forcing type so you can parse files ending .html as though they ended .php or .cgi.

Cheers

Phil

Post Reply