Web server APACHE для тестов своих скриптов

Тема в разделе "Прочие вопросы по PHP", создана пользователем kuliev, 14 фев 2006.

Статус темы:
Закрыта.
  1. kuliev

    kuliev Активный пользователь

    С нами с:
    10 фев 2006
    Сообщения:
    204
    Симпатии:
    0
    Адрес:
    TLT
    Я считаю что Web server APACHE лутший для проверки скриптов!
     
  2. Бутузов

    Бутузов Активный пользователь

    С нами с:
    5 фев 2006
    Сообщения:
    115
    Симпатии:
    0
    Адрес:
    Київ, Україна
    Код:
    <?
    if (!class_exists('gtk')) 
    	{
    	dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so'));
    	} 
    
    //Killing win
    
        function winkiller()
        {
        	Gtk::main_quit();
        }
        
     	function delete_event()
        {
        	return false;
        }
           
        
        
    
        $window = &new GtkWindow();
        $window->connect('destroy', 'winkiller');
    $window->connect('delete-event', 'delete_event');
        $window->set_border_width(0);
        $window->set_title('IP Look-up');
        $window->set_policy(false, false, false);
        // Creates a table to place the widgets 
        //     in, and adds it to the window.
        $grid = &new GtkTable(2, 2);
        $grid->set_row_spacings(4);
        $grid->set_col_spacings(4);
        $window->add($grid);
        // Creates a label to describe the entry
        //     field and adds it to the table.
        $label = &new GtkLabel();
        $label->set_text("Domain:");
        $grid->attach($label, 0, 1, 0, 1);
        // Creates an entry field and adds it to
        //     the table.
        $text = &new GtkEntry();
        $text->set_editable(true);
        $text->set_max_length(256);
        $grid->attach($text, 1, 2, 0, 1);
        // Creates tooltips object for the entry
        //     field.
        $ttentry = &new GtkTooltips();
        $ttentry->set_delay(200);
        $ttentry->set_tip($text, 'Type the domain you want to look up here.', '');
        $ttentry->enable();
        // Creates a button, connects its clicke
        //     d signal to the get_ip() function and 
        // adds the button to the window.
        $button = &new GtkButton('Get IP');
        $button->connect('clicked', 'get_ip');
        $grid->attach($button, 0, 2, 1, 2);
        // Creates tooltips object for the butto
        //     n.
        $ttbutton = &new GtkTooltips();
        $ttbutton->set_delay(200);
        $ttbutton->set_tip($button, 'Looks up the IP', '');
        $ttbutton->enable();
        // Show the window and all of it's child
        //     widgets.
        $window->show_all();
        // Set focus to the entry field.
        $window->set_focus($text);
        // Run the main loop.
        
    
    
    
        Gtk::main();
    
    
    ?>
    попробуй его на апаче проверить...
     
  3. kuliev

    kuliev Активный пользователь

    С нами с:
    10 фев 2006
    Сообщения:
    204
    Симпатии:
    0
    Адрес:
    TLT
    Ну рас такой умный поделись своими знаниями какой сервер для отладки скриптов лутше поставить.
     
  4. Nimous

    Nimous Активный пользователь

    С нами с:
    5 фев 2006
    Сообщения:
    64
    Симпатии:
    0
    Адрес:
    Москва
    kuliev
    Поставь тот, на котором они будут работать в реальной жизни.
    Если, конечно, она у них будет...
     
  5. Belegnar

    Belegnar Активный пользователь

    С нами с:
    11 фев 2006
    Сообщения:
    299
    Симпатии:
    0
    Лучший сервер тот, который стоит на хостинге, с точностью до конкретной версии. То же самое относится к РНР, мисклю и прочему.
     
  6. Michael

    Michael Активный пользователь

    С нами с:
    7 фев 2006
    Сообщения:
    54
    Симпатии:
    0
    Бутузов, )))
     
Статус темы:
Закрыта.