Re: converting this to GTK-PHP

From: Date: Fri, 09 Mar 2001 05:17:57 +0000
Subject: Re: converting this to GTK-PHP
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-593@lists.php.net to get a copy of this message
It seams to me you are mixing the scopes. 1) use php with a web server to create dynamic html documents for viewing in a standard browser. 2) use php with php-gtk to generate client-side GUI appilcations. Submits and html forms can't be mixed with client side applications. - Frank > Hello Kind folks, > > Can anyone convert the following example for use with PHP-GTK, I am an > absolute newbie to GTK and C++ > > I understand that it is a whole lot more work than a simple PHP script > > I want that the output should be in a GTK window and not command line > window. > > Also where/how can I find all the classes and methods supported by PHP-GTK > > Thanks in advance > > Tarique > > =================================== > <?php > //Check if $submit has a value of "Go" > if($submit=="Go"){ > echo "You wrote ".$you_wrote; > exit; > } > ?> > > <!-- Create the HTML form to get input --> > <form method="GET" action="<? echo $PHP_SELF ?>"> > <p>Input a word <input type="text" size="20" > name="you_wrote"> > <input type="submit" name="submit" > value="Go"></p> > </form> > =================================== > > > > > > > -- > ========================================= > B2B Application Providers > http://www.sanisoft.com > Vortal for Nagpur http://nagpurcity.net > ========================================= > > > -- > PHP GTK Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.gtk (#593) next »