downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/kr/install.windows.activescript.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/install.windows.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'kr',
  ),
 
'this' =>
  array (
   
0 => 'install.windows.activescript.php',
   
1 => 'ActiveScript',
  ),
 
'up' =>
  array (
   
0 => 'install.windows.php',
   
1 => '윈도우 시스템에 인스톨하기',
  ),
 
'prev' =>
  array (
   
0 => 'install.windows.manual.php',
   
1 => 'Manual Installation Steps',
  ),
 
'next' =>
  array (
   
0 => 'install.windows.iis.php',
   
1 => 'Microsoft IIS / PWS',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="install.windows.activescript" class="sect1">
    <h2 class="title">ActiveScript</h2>
    <p class="para">
     This section contains notes specific to the ActiveScript installation.
    </p>
    <p class="para">
     ActiveScript is a Windows only SAPI that enables you to use PHP script in
     any ActiveScript compliant host, like Windows Script Host, ASP/ASP.NET,
     Windows Script Components or Microsoft Scriptlet control.
    </p>
    <p class="para">
     As of PHP 5.0.1, ActiveScript has been moved to the <a href="http://pecl.php.net/" class="link external">&raquo; PECL</a> repository.
     이 <acronym title="PHP Extension and Application Repository">PECL</acronym> 확장에 대한
<acronym title="Dynamic Link Library">DLL</acronym>은 현재 사용할 수 없습니다.
<a href="install.windows.building.php" class="link">윈도우에서 빌드하기</a> 섹션을
참고하십시오.
    </p>
    <blockquote><p><b class="note">Note</b>:
    
      You should read the <a href="install.windows.manual.php" class="link">manual
       installation steps</a> first!
     <br />
    </p></blockquote>
    <p class="para">
     After installing PHP, you should download the ActiveScript DLL
     (<var class="filename">php5activescript.dll</var>) and place it in the main PHP
     folder (e.g. <var class="filename">C:\php</var>).
    </p>
    <p class="para">
     After having all the files needed, you must register the DLL on your
     system. To achieve this, open a Command Prompt window (located in the
     Start Menu). Then go to your PHP directory by typing something like
     <i>cd C:\php</i>. To register the DLL just type
     <i>regsvr32 php5activescript.dll</i>.
    </p>
    <p class="para">
     To test if ActiveScript is working, create a new file, named
     <i>test.wsf</i> (the extension is very important) and type:
     </p><div class="example-contents programlisting">
<div class="cdata"><pre>
&lt;job id=&quot;test&quot;&gt;
 
 &lt;script language=&quot;PHPScript&quot;&gt;
  $WScript-&gt;Echo(&quot;Hello World!&quot;);
 &lt;/script&gt;
 
&lt;/job&gt;
</pre></div>
     </div>
<p>
     Save and double-click on the file. If you receive a little window saying
     &quot;Hello World!&quot; you&#039;re done.
    </p>
    <blockquote><p><b class="note">Note</b>:
    
      In PHP 4, the engine was named &#039;ActivePHP&#039;, so if you are using PHP 4,
      you should replace &#039;PHPScript&#039; with &#039;ActivePHP&#039; in the above example.
     <br />
    </p></blockquote>
    <blockquote><p><b class="note">Note</b>:
    
      ActiveScript doesn&#039;t use the default <var class="filename">php.ini</var> file. Instead, it will
      look only in the same directory as the .exe that caused it to load. You
      should create <var class="filename">php-activescript.ini</var> and place it in
      that folder, if you wish to load extensions, etc.
     <br />
    </p></blockquote>
   </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites