За последние 24 часа нас посетили 21597 программистов и 1024 робота. Сейчас ищут 737 программистов ...

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

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

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

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

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

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

    С нами с:
    5 фев 2006
    Сообщения:
    115
    Симпатии:
    0
    Адрес:
    Київ, Україна
    Код (Text):
    1. <?
    2. if (!class_exists('gtk'))
    3.     {
    4.     dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so'));
    5.     }
    6.  
    7. //Killing win
    8.  
    9.     function winkiller()
    10.     {
    11.         Gtk::main_quit();
    12.     }
    13.    
    14.     function delete_event()
    15.     {
    16.         return false;
    17.     }
    18.        
    19.    
    20.    
    21.  
    22.     $window = &new GtkWindow();
    23.     $window->connect('destroy', 'winkiller');
    24. $window->connect('delete-event', 'delete_event');
    25.     $window->set_border_width(0);
    26.     $window->set_title('IP Look-up');
    27.     $window->set_policy(false, false, false);
    28.     // Creates a table to place the widgets
    29.     //     in, and adds it to the window.
    30.     $grid = &new GtkTable(2, 2);
    31.     $grid->set_row_spacings(4);
    32.     $grid->set_col_spacings(4);
    33.     $window->add($grid);
    34.     // Creates a label to describe the entry
    35.     //     field and adds it to the table.
    36.     $label = &new GtkLabel();
    37.     $label->set_text("Domain:");
    38.     $grid->attach($label, 0, 1, 0, 1);
    39.     // Creates an entry field and adds it to
    40.     //     the table.
    41.     $text = &new GtkEntry();
    42.     $text->set_editable(true);
    43.     $text->set_max_length(256);
    44.     $grid->attach($text, 1, 2, 0, 1);
    45.     // Creates tooltips object for the entry
    46.     //     field.
    47.     $ttentry = &new GtkTooltips();
    48.     $ttentry->set_delay(200);
    49.     $ttentry->set_tip($text, 'Type the domain you want to look up here.', '');
    50.     $ttentry->enable();
    51.     // Creates a button, connects its clicke
    52.     //     d signal to the get_ip() function and
    53.     // adds the button to the window.
    54.     $button = &new GtkButton('Get IP');
    55.     $button->connect('clicked', 'get_ip');
    56.     $grid->attach($button, 0, 2, 1, 2);
    57.     // Creates tooltips object for the butto
    58.     //     n.
    59.     $ttbutton = &new GtkTooltips();
    60.     $ttbutton->set_delay(200);
    61.     $ttbutton->set_tip($button, 'Looks up the IP', '');
    62.     $ttbutton->enable();
    63.     // Show the window and all of it's child
    64.     //     widgets.
    65.     $window->show_all();
    66.     // Set focus to the entry field.
    67.     $window->set_focus($text);
    68.     // Run the main loop.
    69.    
    70.  
    71.  
    72.  
    73.     Gtk::main();
    74.  
    75.  
    76. ?>
    попробуй его на апаче проверить...
     
  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
    Бутузов, )))
     
Статус темы:
Закрыта.