Re: Status of PHP-GTK for OS X
| From: | PPK-Webprogramm | Date: | Mon, 20 Feb 2006 11:09:29 +0000 |
| Subject: | Re: Status of PHP-GTK for OS X | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6757@lists.php.net to get a copy of this message | ||
Andrei Zmievski ha scritto:
It requires X11.O yes .... long road.... I have write an xml2xslt converter php-gtk2 (linux window) but on mac i take source from ... http://ciz.ch/svnciz/php-gtk_c++/c++_launch/ and i use Xcode http://www.apple.com/macosx/features/xcode/ to translate to Cocoa (GTK2 from mac ) http://developer.apple.com/cocoa/ Xcode is soo easy and simple (Interface designer) ... search on sf.net "appleLaunch" as demo example.. or Cocoa and make Cocoa grafik design and function on c++ so c++ and php5 shake hands... system(".phpfolder/php5 function.php"); or c++ function... php_var shell_exec(php_var cmd) { FILE *fp = popen(cmd, "r"); if(fp == NULL) { return (php_var) 0; } string returner; char * buf = (char *) malloc(1024); while(!feof(fp)) { fread(buf, 1, 1023, fp); returner += buf; } pclose(fp); return (php_var) returner; } other example php2c++ http://www.php-compiler.net/ and the application is so fast... and X11 ist not required! Ciao peter www.ciz.ch
-Andrei On Feb 17, 2006, at 9:47 AM, Tim Streater wrote:At 00:38 17/02/2006, Andrei Zmievski wrote:I've been developing PHP-GTK 2 on OSX, so... there you go.Does the OS X version require X11 or does it use the standard OS X interface? Thx, ___________________________________________________________________* * Tim Streater Network Engineer * * * City House * 126-130 Hills Road Tel +44 1223 371300 * Cambridge CB2 1PQ Fax +44 1223 371371 D A N T E United Kingdom WWW http://www.dante.net____________________________________________________________________ -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php