FREE BEER FOR THE FIRST PERSON TO TELL ME WHY THIS KILLS MY PC
| From: | Steph | Date: | Wed, 28 Mar 2001 16:10:34 +0000 |
| Subject: | FREE BEER FOR THE FIRST PERSON TO TELL ME WHY THIS KILLS MY PC | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1169@lists.php.net to get a copy of this message | ||
(err msg in dos box: "Bad command or filename" - repeatedly, eternally, cos it's in
that loop somewhere -)
function save_selection(){
global $clist;
$clist->freeze();
$selection = $clist->selection;
while (($rowfill = $clist->selection[0]) !== null) {
$command = ($rowfill>'something.txt');
$write = popen ($command, 'w');
fputs ($write, "\r");
pclose ($write);
}
if ($clist->selection[0] === null && $clist->focus_row >= 0)
$clist->select_row($clist->focus_row, -1);
$clist->thaw();
focusback();
}