Aşağıdaki adres PHP GTK code located in C:\gtk
<?php
if (!class_exists('gtk')) {
die("Please load the php-gtk2 module in your php.ini\r\n");
}
$wnd = new GtkWindow();
$wnd->set_title('Background');
$wnd->set_resizable(false);
$wnd->set_position(GTK_WIN_POS_CENTER);
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$im = GtkImage::new_from_file("C:\gtk\bg.jpg");
$wnd->add($im);
$wnd->show_all();
Gtk::main();
?>
Bu shows the image C:\gtk\bg.jpg
ama benim soru how can I display it from a local path. PHP dosyası is located in that folder bu yüzden ben gerektiğini only {[(5 olduğunu )]} fakat that doesn't work.