Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Embed php-gtk widgets into HTML?

Whats the status of php-gtk widget within HTML

4:49 am on May 28, 2008 (gmt 0)

New User

5+ Year Member

joined:Aug 2, 2007
votes: 0

Hi all,
I've been looking at php-gtk2 lately, it's pretty cool and is pretty much similar to the GTK lib.
Anyway, what's disappointing is it can only build stand-alone applications.

I haven't found any info on php-gtk widgets being embedded to HTML. This was actually the first thing I expected when I first encountered the term "php-gtk2".

Anyway, is there any thing out there going towards this directions? Create interactive widgets on browser with php-gtk2?


2:16 am on May 29, 2008 (gmt 0)

New User

5+ Year Member

joined:May 13, 2007
votes: 0

As you correctly state, php-gtk is only for stand-alone applications. It is designed for that purpose only, such as Perl also has a GTK library.

Since when used in web programming, PHP is server side, it is unable to be used for anything interactive that is embedded on the client side. For that to happen, it would have to be like Java, where a plugin was available.

For what you want, AJAX, Flash, or Java applets would suit you well.