Re: fileselection.php

From: Date: Thu, 08 Mar 2001 14:45:51 +0000
Subject: Re: fileselection.php
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-562@lists.php.net to get a copy of this message
On Thu, 08 Mar 2001, Mathieu wrote: > the test fileselection.php is nice, but where is the file selected? > > in perl, it's > > sub file_ok_sel > { > my ( $widget, $file_selection ) = @_; > my $file = $file_selection->get_filename(); > print( "$file\n" ); > } > > > http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/fileselectiondialog.html#AEN3772 > > but it doesn't work in php, how can i do it? You can do $fs->get_filename() after OK button is pressed.. -Andrei We all have photographic memories, it's just that some of us don't have any film.

« previous php.gtk (#562) next »