-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 12 February 2002 17:28, Raymond Camden wrote:
: > > PHP is cool, and the most powerful of the languages, perhaps too
: > > powerful for just web development.
: >
: > hmm, I assume you know that PHP can be used to develop programs under
: > linux now! :^)
:
: How so? Can you compile them to native .exes or something? (Yes, I know
: exes aren't for Linux. ;)
:
: -rc


I love that!  Create PHP in 'CGI mode' and then create scripts that look like:

#!/usr/local/bin/php -q
#copy2guest.sh
<?php
$file="/home/user/www/pics/camOrig.jpg";
$file2="/home/user/www/domain.net/guestcam/webcam32.jpg";
if (!copy($file, $file2)) {
    print ("failed to copy $file...<br>\n");
}
?>

then run it via a cron, or at the command line...  PHP will also interact 
with X via GTK now, so yes, you can creat scripts that will actually create 
windows and gui's in linux, that you can interact with just like any other 
program...!

Geo



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8aajB6lWSWPFnGFARAortAJ4m9e4Qwhx1OzJjq7NK1SSDIvHuwgCdHhca
+22EL139akHm0nRz0YhVRUU=
=o2z/
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to