[阅读: 853] 2007-03-31 04:32:42
第一次,防火墙提示是否允许apache成为服务,允许了,但没有任何反应
看进程,已经有2个apache进程了。。。。。。
<?php
//Includes
require_once("vcl/vcl.inc.php");
use_unit("menus.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
//Class definition
class Unit1 extends Page
{
public $Button1 = null;
public $Edit1 = null;
public $Memo1 = null;
public $Label1 = null;
public $MainMenu1 = null;
function Button1Click($sender, $params)
{
$Memo1->Lines->Add($Edit1->Text);
}
}
global $application;
global $Unit1;
//Creates the form
$Unit1=new Unit1($application);
//Read from resource file
$Unit1->loadResource(__FILE__);
//Shows the form
$Unit1->show();
?>