<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DWebPro</title>
	<atom:link href="http://www.dwebpro.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dwebpro.com</link>
	<description>The Best Stand Alone Web Server on the Market</description>
	<lastBuildDate>Sun, 06 Sep 2009 13:52:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Create An Install Package</title>
		<link>http://www.dwebpro.com/how-to/264/how-to-create-an-install-package-with-dwebpro.php</link>
		<comments>http://www.dwebpro.com/how-to/264/how-to-create-an-install-package-with-dwebpro.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:47:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/264/how-to-create-an-install-package-with-dwebpro.php</guid>
		<description><![CDATA[With a DWebPro CoBrand  (or above) you can distribute  DWebPro with your web application in an install package. You can use any  software able to create install packages (EXE or MSI). Here is a list of  various installer available on the market.

http://www.innosetup.com/
http://www.installshield.com/
http://www.wise.com/
http://www.advancedinstaller.com/
http://wix.sourceforge.net/
http://nsis.sourceforge.net/

We advise our customers to use Inno Setup (http://www.innosetup.com/), it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>With a <strong>DWebPro CoBrand </strong> (or above) you can distribute  DWebPro with your web application in an install package. You can use any  software able to create install packages (<code class="filename">EXE</code> or <code class="filename">MSI</code>). Here is a list of  various installer available on the market.</p>
<ul>
<li><a href="http://www.innosetup.com/" target="_blank">http://www.innosetup.com/</a></li>
<li><a href="http://www.installshield.com/" target="_blank">http://www.installshield.com/</a></li>
<li><a href="http://www.wise.com/" target="_blank">http://www.wise.com/</a></li>
<li><a href="http://www.advancedinstaller.com/" target="_blank">http://www.advancedinstaller.com/</a></li>
<li><a href="http://wix.sourceforge.net/" target="_blank">http://wix.sourceforge.net/</a></li>
<li><a href="http://nsis.sourceforge.net/" target="_blank">http://nsis.sourceforge.net/</a></li>
</ul>
<p>We advise our customers to use Inno Setup (<a href="http://www.innosetup.com/" target="_blank">http://www.innosetup.com/</a>), it&rsquo;s free, very stable and includes almost any feature you can need. It supports the execution of internal Pascal Scripting for complex tasks such registry manipulation and can use external <code class="filename">DLLs</code> to perform any other task.</p>
<p>In the cobrand folder (typically <span class="interface">C:\DWebPro\cobrand</span>) you can find an Inno Setup script (<a href="http://www.innosetup.com/" target="_blank">http://www.innosetup.com/</a>) and a NSIS script (<a href="http://nsis.sourceforge.net/" target="_blank">http://nsis.sourceforge.net/</a>) you can use as template for creating your own install package.</p>
<p>Creating an install package that works on every system and configuration can be a complex task. We suggest you to read the &quot;<a href="http://blogs.msdn.com/windows_installer_team/archive/2005/09/27/463649.aspx" target="_blank">Best Practice Guidelines for Building Quality Installs</a>&quot;  articles on the Windows Installer Team Blog.</p>
<p>Just a final note, remember to check the behavior of your web application under user with different privileges and under all the operating systems you will support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/264/how-to-create-an-install-package-with-dwebpro.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use Microsoft Access Database On CD/DVD</title>
		<link>http://www.dwebpro.com/how-to/262/how-to-use-microsoft-access-database-on-cddvd.php</link>
		<comments>http://www.dwebpro.com/how-to/262/how-to-use-microsoft-access-database-on-cddvd.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:44:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/262/how-to-use-microsoft-access-database-on-cddvd.php</guid>
		<description><![CDATA[Normally, when you open a Microsoft Access database, a file (LDB) containing record locking information needed to handle concurrent access to the database is created. Obviously this does not work for         Access databases hosted from a CD or DVD because they are read-only devices. To resolve this, [...]]]></description>
			<content:encoded><![CDATA[<p>Normally, when you open a Microsoft Access database, a file (LDB) containing record locking information needed to handle concurrent access to the database is created. Obviously this does not work for         Access databases hosted from a CD or DVD because they are read-only devices. To resolve this, you must add the following two parameters        to your connection string: <code class="function">ReadOnly=1</code> and <code class="function">Exclusive=1</code>.</p>
<p>Here is an example for use with ASP Classic 3.0  (VBScript): </p>
<pre class="programlisting">&lt;%
Dim DSN, conn
DSN = "DRIVER={Microsoft Access Driver (*.mdb)};" &amp; _
      "DBQ=" &amp; Server.MapPath("Northwind.mdb") &amp; ";" &amp; _
      "UID=admin;&quot; &amp; _
      &quot;PWD=;&quot; &amp; _
      &quot;ReadOnly=1;&quot; &amp; _
      &quot;Exclusive=1;"
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open(DSN)
%&gt;</pre>
<p>Here is an example for use with ColdFusion: </p>
<pre class="programlisting">&lt;CFQUERY NAME="qrySample"
 DBTYPE="dynamic"
 CONNECTSTRING="DRIVER={Microsoft Access Driver (*.mdb)};
                DBQ=#ExpandPath('\')#Northwind.mdb;
                UID=Admin;PWD=;ReadOnly=1;Exclusive=1;"&gt;
SELECT * FROM tblSample
&lt;/CFQUERY&gt;</pre>
<p>Using this method, you can use Microsoft Access databases directly from your CD/DVD without the need of copying it to the user&#8217;s hard drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/262/how-to-use-microsoft-access-database-on-cddvd.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Test Your mod_rewrite Directives With The Rewrite Engine Tester</title>
		<link>http://www.dwebpro.com/how-to/260/how-to-test-your-mod_rewrite-directives-with-the-rewrite-engine-tester.php</link>
		<comments>http://www.dwebpro.com/how-to/260/how-to-test-your-mod_rewrite-directives-with-the-rewrite-engine-tester.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:44:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/?p=260</guid>
		<description><![CDATA[DWebPro supports a subset of Apache mod_rewrite directives described in the URL Rewrite Engine topic.
To let you familiarize with this feature we have included in the DWebPro package the DWebPro Rewrite Engine Tester tool.

The DWebPro Rewrite Engine Tester Software

The use of this tool is very simple. 


Open the DWebPro Rewrite Engine Tester (Start -&#62; Programs [...]]]></description>
			<content:encoded><![CDATA[<p>DWebPro supports a subset of Apache mod_rewrite directives described in the <a href="http://onlinehelp.dwebpro.com/url_rewrite_engine.html" target="_blank" title="URL Rewrite Engine">URL Rewrite Engine</a> topic.</p>
<p>To let you familiarize with this feature we have included in the DWebPro package the <span class="interface">DWebPro Rewrite Engine Tester</span> tool.</p>
<div class="mediaobject"><img src="/wp-content/uploads/screenshots/dwebpro_rewrite_engine_tester.jpg" alt="The Rewrite Engine Tester Software"></p>
<div class="caption">The DWebPro Rewrite Engine Tester Software</div>
</div>
<p>The use of this tool is very simple. </p>
<ul>
<li>
<p>Open the <span class="interface">DWebPro Rewrite Engine Tester</span> (<code class="filename">Start -&gt; Programs -&gt; DWebPro -&gt; Advanced Tools -&gt;       Rewrite Engine Tester</code>).</p>
</li>
<li>
<p>The <span class="interface">Request Path</span> field contains the path part of the requested URL.</p>
</li>
<li>
<p>The <span class="interface">Request Query String</span> field contains the query string of the requested URL. </p>
</li>
<li>
<p>The memo under the <span class="interface">Rewrite</span> button contains the mod_rewrite directives you want to test. </p>
</li>
<li>
<p>Once you have filled the above fields with your information, click on the <span class="interface">Rewrite</span> button and you will get the rewritten path in the <span class="interface">Rewritten Path</span> field.</p>
</li>
<li>
<p>The key/value list on the right contains the server variables supported by the <span class="interface">URL Rewrite Engine</span>.</p>
</li>
</ul>
<p>Refer to the <a href="http://onlinehelp.dwebpro.com/en/url_rewrite_engine.html" title="URL Rewrite Engine" target="_blank">URL Rewrite Engine</a> topic for more information on DWebPro url rewrite support. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/260/how-to-test-your-mod_rewrite-directives-with-the-rewrite-engine-tester.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Re-Brand DWebPro</title>
		<link>http://www.dwebpro.com/how-to/259/how-to-re-brand-dwebpro.php</link>
		<comments>http://www.dwebpro.com/how-to/259/how-to-re-brand-dwebpro.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:39:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/259/how-to-re-brand-dwebpro.php</guid>
		<description><![CDATA[DWebPro ReBrand allows you to re-brand the dwebpro.exe file with your own icon and version information. 
The DWebPro ReBrander enables you to re-brand the dwebpro.exe file in a couple of minutes.

The DWebPro ReBrander Software

To rebrand the dwebpro.exe file follow these steps: 


Open the DWebPro ReBrander tool (Start -&#62; Programs -&#62; DWebPro -&#62; Advanced Tools -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dwebpro.com/license">DWebPro ReBrand</a> allows you to re-brand the <code class="filename">dwebpro.exe</code> file with your own icon and version information. </p>
<p>The DWebPro ReBrander enables you to re-brand the <code class="filename">dwebpro.exe</code> file in a couple of minutes.</p>
<div class="mediaobject"><img src="/wp-content/uploads/screenshots/dwebpro_rebrander.jpg" alt="The DWebPro ReBrander Software"></p>
<div class="caption">The DWebPro ReBrander Software</div>
</div>
<p>To rebrand the <code class="filename">dwebpro.exe</code> file follow these steps: </p>
<ul type="disc">
<li>
<p>Open the DWebPro ReBrander tool (<code class="filename">Start -&gt; Programs -&gt; DWebPro -&gt; Advanced Tools -&gt;       DWebPro ReBrander</code>).</p>
</li>
<li>
<p>It will automatically load the current<code class="filename"> dwebpro.exe</code> version information.</p>
</li>
<li>
<p>Fill the version information fields with your own information.</p>
</li>
<li>
<p>Select an <span class="interface">Icon  File</span> if you want to personalize the icon. </p>
</li>
<li>
<p>Select a <span class="interface">Destination File</span>. </p>
</li>
<li>
<p>Click on <span class="interface">ReBrand</span> button.</p>
</li>
</ul>
<p>Refer to the <a href="dwebpro_licensing_model.html" title="DWebPro Licensing Model">DWebPro Licensing Model</a> topic for more information about DWebPro ReBrand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/259/how-to-re-brand-dwebpro.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Protect Your PHP and ASP Classic 3.0 source Code From Stealing With The DWebPro Encoder</title>
		<link>http://www.dwebpro.com/how-to/257/how-to-protect-your-php-and-asp-classic-3-0-source-code-from-stealing-with-the-dwebpro-encoder.php</link>
		<comments>http://www.dwebpro.com/how-to/257/how-to-protect-your-php-and-asp-classic-3-0-source-code-from-stealing-with-the-dwebpro-encoder.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:37:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/257/how-to-protect-your-php-and-asp-classic-3-0-source-code-from-stealing-with-the-dwebpro-encoder.php</guid>
		<description><![CDATA[The DWebPro package includes the DWebPro Encoder, a PHP and  ASP Classic 3.0 encoder.

The DWebPro Encoder Software


DWebPro Encoder contains two components: a GUI (Graphical User  Interface) that performs the file encryption and a PHP extension that decodes and runs the scripts. DWebPro Encoder is very easy to use.  A summary of how [...]]]></description>
			<content:encoded><![CDATA[<p>The DWebPro package includes the DWebPro Encoder, a PHP and  ASP Classic 3.0 encoder.</p>
<div class="mediaobject"><img src="/wp-content/uploads/screenshots/dwebpro_encoder.jpg" alt="The DWebPro Encoder Software"></p>
<div class="caption">The DWebPro Encoder Software</div>
</div>
<p></p>
<p>DWebPro Encoder contains two components: a GUI (Graphical User  Interface) that performs the file encryption and a PHP extension that decodes and runs the scripts. DWebPro Encoder is very easy to use.  A summary of how to use this tool are as follows:</p>
<ol type="1">
<li>
<p>Select the folder containing the scripts to encode.</p>
</li>
<li>
<p>Select the destination folder.</p>
</li>
<li>
<p>Select the Encoding Type: PHP or ASP Classic.</p>
</li>
<li>
<p>Specify the extensions of the files to elaborate. For example: <code class="filename">*.php</code>; <code class="filename">*.php3</code>; <code class="filename">*.php4</code>; or <code class="filename">*.asp</code>; <code class="filename">* .asa</code>.</p>
</li>
<li>
<p>Click <span class="interface">Compile</span>.</p>
</li>
</ol>
<p>The two available options are:</p>
<ul type="disc">
<li>
<p><span class="interface">Copy other files</span> to automatically copy other files as well.</p>
</li>
<li>
<p><span class="interface">Normalize only</span> re-elaborates      the content to prepare it for the encoding process. This option is useful for verifying the correct functioning of the encoder.</p>
</li>
</ul>
<p>DWebPro supports also the major part of PHP encoders available on the market. Our PHP preconfigured packages include the extensions for the following encoders:</p>
<ul>
<li>Ioncube</li>
<li>Zend Encoder</li>
<li>SourceGuardian</li>
<li>PHTML Encoder</li>
<li>eAccelerator</li>
<li>phpSHIELD</li>
<li>Nu-Coder</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/257/how-to-protect-your-php-and-asp-classic-3-0-source-code-from-stealing-with-the-dwebpro-encoder.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Protect Your License From Stealing With The DWebPro License Bundler</title>
		<link>http://www.dwebpro.com/how-to/255/how-to-protect-your-license-from-stealing-with-the-dwebpro-license-bundler.php</link>
		<comments>http://www.dwebpro.com/how-to/255/how-to-protect-your-license-from-stealing-with-the-dwebpro-license-bundler.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/?p=255</guid>
		<description><![CDATA[The DWebPro License Bundler tool allows to attach your license file (license.lic) into the dwebpro.exe binary in a way that it can&#8217;t be used by third parties for the creation of other CDs/DVDs or install packages.

The DWebPro License Bundler Software


This tool  encodes the license and embeds it into the dwebpro.exe binary with a unique [...]]]></description>
			<content:encoded><![CDATA[<p>The <span class="interface">DWebPro License Bundler</span> tool allows to attach your license file (<code class="filename">license.lic</code>) into the <code class="filename">dwebpro.exe</code> binary in a way that it can&#8217;t be used by third parties for the creation of other CDs/DVDs or install packages.</p>
<div class="mediaobject"><img src="/wp-content/uploads/screenshots/dwebpro_license_bundler.jpg" alt="The DWebPro License Bundler Software"></p>
<div class="caption">The DWebPro License Bundler Software</div>
</p></div>
<p></p>
<p>This tool  encodes the license and embeds it into the dwebpro.exe binary with a unique key based on the <code class="filename">http.ini</code> file and the files in the document root folder. In this way the generated executable (<code class="filename">dwebpro.exe</code>) will work only with that specific configuration and web application.</p>
<p>Using the <span class="interface">DWebPro License Bundler</span> tool is very easy:</p>
<ul>
<li>
<p>Open it from <code class="filename">Start -&gt; Programs -&gt; DWebPro -&gt; Security Tools -&gt; DWebPro License Bundler</code>.</p>
</li>
<li>
<p>Change the various setting to fits your needs. Most of the times you should not need to change the default values.</p>
</li>
<li>
<p>Click on <span class="interface">Bundle License</span>.</p>
</li>
<li>
<p>Close the tool.</p>
</li>
</ul>
<p>Keep in mind that the generated executable specified by the <span class="interface">Destination file</span> field will run only with the configuration file specified by the <span class="interface">HTTP.INI File</span> field and the web application located in the <span class="interface">Document root</span> field. If you made any change to those files you have to re-bundle the license otherwise you will raise the <code class="option">dwebpro_license_invalid_cd</code> error message (<em>&quot;WARNING! The license is invalid for this CD/DVD!&quot;</em>).</p>
<p>Refer to the <a href="http://onlinehelp.dwebpro.com/en/dwebpro_license_bundler_software.html" title="DWebPro License Bundler" target="_blank">DWebPro License Bundler</a> topic for more information on DWebPro license bundling tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/255/how-to-protect-your-license-from-stealing-with-the-dwebpro-license-bundler.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Personalize The HTTP Error Messages</title>
		<link>http://www.dwebpro.com/how-to/253/how-to-personalize-the-http-error-messages.php</link>
		<comments>http://www.dwebpro.com/how-to/253/how-to-personalize-the-http-error-messages.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 10:09:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/253/how-to-personalize-the-http-error-messages.php</guid>
		<description><![CDATA[When the primary web server raises an HTTP error, DWebPro shows the relative .htm web page from the deploy\errordocs folder. 
The supported error documents are: 


403.htm


404.htm


500.htm


500-1.htm


When the ASP Classic 3.0 support raises an error (i.e. a parsing error or a runtime error), DWebPro executes the 500-100-vb.asp or the 500-100-js.asp files from the document root folder [...]]]></description>
			<content:encoded><![CDATA[<p>When the primary web server raises an HTTP error, DWebPro shows the relative <code class="filename">.htm</code> web page from the <code class="filename">deploy\errordocs</code> folder. </p>
<p>The supported error documents are: </p>
<ul type="circle">
<li>
<p><code class="filename">403.htm</code></p>
</li>
<li>
<p><code class="filename">404.htm</code></p>
</li>
<li>
<p><code class="filename">500.htm</code></p>
</li>
<li>
<p><code class="filename">500-1.htm</code></p>
</li>
</ul>
<p>When the <a href="http://onlinehelp.dwebpro.com/en/asp_classic_30_support.html" target="_blank">ASP Classic 3.0 support</a> raises an error (i.e. a parsing error or a runtime error), DWebPro executes the <code class="filename">500-100-vb.asp</code> or the <code class="filename">500-100-js.asp</code> files from the document root folder (usually <code class="filename">deploy\www</code>) depending on the language of the page that has raised the error (<code class="filename">500-100-vb.asp</code> for VBScript pages and <code class="filename">500-100-js.asp</code> for JScript pages).</p>
<p>You can personalize all these files with your own graphics and style. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/253/how-to-personalize-the-http-error-messages.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Distribute A PHP And MySQL Web Site</title>
		<link>http://www.dwebpro.com/how-to/248/how-to-distribute-a-php-and-mysql-web-site-with-dwebpro.php</link>
		<comments>http://www.dwebpro.com/how-to/248/how-to-distribute-a-php-and-mysql-web-site-with-dwebpro.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 10:05:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/how-to/248/how-to-distribute-a-php-and-mysql-web-site-with-dwebpro.php</guid>
		<description><![CDATA[Download and install DWebPro and then download and install one of our preconfigured PHP packages. 
If you will use MySQL 4.1 (or above), you should use PHP 5.0 (or above). If you need to use PHP 4.4 and MySQL 4.1 (or above) you have to add the following string to the CustomParams field in the [...]]]></description>
			<content:encoded><![CDATA[<p>Download and install DWebPro and then download and install one of our <a href="http://www.dwebpro.com/addons" target="_blank">preconfigured PHP packages. </a></p>
<p>If you will use MySQL 4.1 (or above), you should use PHP 5.0 (or above). If you need to use PHP 4.4 and MySQL 4.1 (or above) you have to add the following string to the <code class="option">CustomParams</code> field in the MySQL section:</p>
<pre class="programlisting">--old-passwords</pre>
<p>We recommend you to install PHP as ISAPI as it is a faster and more efficient interface than CGI, especially when PHP is executed on CD/DVD. Once you have installed PHP you can change its settings by editing the <code class="filename">php.ini</code> file in the <span class="interface">deploy</span> folder.</p>
<p>Download and install one of our <a href="http://www.dwebpro.com/addons" target="_blank">preconfigured MySQL package</a>s. </p>
<p>Download and install our preconfigured <a href="http://www.dwebpro.com/downloads/phpmyadmin_package.exe" target="_blank">phpMyAdmin V.2.6.1</a> package.</p>
<p>Place your Web application files in the <span class="interface">C:\DWebPro\deploy\www</span> folder.</p>
<p>Start DWebPro (it should bring you to the phpMyAdmin section).</p>
<p>Create a MySQL database you will use for your Web site.</p>
<p>Import the dump of your MySQL database. This procedure can be done using any other MySQL client (for example, MySQL CC, DBTools, <code class="filename">mysql.exe</code>). When you connect to MySQL you MUST provide the correct port on which MySQL is listening . As default behavior, DWebPro starts any socket server on the first empty port. You can get the correct MySQL port using the following PHP code:</p>
<pre class="programlisting">&lt;?php
print(dwebpro_getvar("DWEBPRO_MYSQL_PORT"));
?&gt;</pre>
<p>Open your Web scripts and edit the MySQL connection settings to fit the following values:</p>
<pre class="programlisting">&lt;?php
$host = "127.0.0.1:" . dwebpro_getvar("DWEBPRO_MYSQL_PORT");
$database = "the database you have just created";
$username = "root";
$password = "";
?&gt;</pre>
<p>Burn the <span class="interface">C:\DWebPro\deploy</span> folder on a CD/DVD. You can place the contents of this folder in a subfolder of the CD/DVD, in this case you should put in the <span class="interface">root</span> folder both the <code class="filename">autorun.inf</code> and the <code class="filename">autorun.exe</code> files and edit the <code class="filename">autorun.inf</code> to point to the <code class="filename">dwebpro.exe</code> file in the subfolder. For instance, if you have placed the DWebPro files in the <span class="interface">F:\website</span> subfolder (where <span class="interface">F:</span> is the CD/DVD unit name), you have to edit the <code class="filename">autorun.inf</code> file as follows:</p>
<pre class="programlisting">[autorun]
icon=website\dwebpro.exe
open=website\dwebpro.exe
</pre>
<p>If you want you can change the CD/DVD icon, change the icon setting in the <code class="filename">autorun.inf</code> file. The <code class="filename">autorun.exe</code> can be renamed into whatever you want (i.e., <code class="filename">StartMe.exe</code>). This program is provided to help the end        user on starting DWebPro. It reads the <code class="filename">autorun.inf</code> directives and executes them, it is very useful when the end user        has disabled the Windows autorun feature. Now you should be able to     run you PHP/MySQL Web application with DWebPro. If you need to execute        write operations on the MySQL database you have to configure DWebPro        to copy the database files on the user file system. Read the MySQL        section of the manual to understand the different ways this can be        done. If in your configuration settings there are full paths like        the following:</p>
<pre class="programlisting">&lt;?php
$root = "/urs/local/example.com/www/";
?&gt;</pre>
<p>You should rewrite them using a code like the following that        will work correctly on any system:</p>
<pre class="programlisting">&lt;?php
$root = realpath(dirname(__FILE__) . "/../") . DIRECTORY_SEPARATOR;
?&gt;</pre>
<p>Here is a code excerpt that you should add to your web site config file to make PHP work correctly from CD/DVD:</p>
<pre class="programlisting">&lt;?php

/*
* This script contains some directives to make your PHP
* environment perfectly working on read only media like CD/DVD
*/

/* Session support */

ini_set('session.save_path', dwebpro_getvar('DWEBPRO_TEMP'));

/* MySQL support */

ini_set('mysql.default_port', dwebpro_getvar('DWEBPRO_MYSQL_PORT'));
ini_set('mysql.default_host', '127.0.0.1');
ini_set('mysql.default_user', 'root');
ini_set('mysql.default_password', '');

/* SMTP/Mail support */

ini_set('smtp_port', dwebpro_getvar('DWEBPRO_SMTPSERVER_PORT'));
ini_set('sendmail_from', 'support@dwebpro.com');

?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/248/how-to-distribute-a-php-and-mysql-web-site-with-dwebpro.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Distribute ASP Classic 3.0 And Microsoft Access Web Site</title>
		<link>http://www.dwebpro.com/how-to/245/how-to-distribute-asp-classic-3-0-and-microsoft-access-web-site-with-dwebpro.php</link>
		<comments>http://www.dwebpro.com/how-to/245/how-to-distribute-asp-classic-3-0-and-microsoft-access-web-site-with-dwebpro.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 10:05:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/?p=245</guid>
		<description><![CDATA[Download and install DWebPro and then place your Web application files in the deploy\www folder (usually C:\DWebPro\deploy\www). Open your Web scripts and edit the Microsoft Access connection string as follows:
&#60;%
Dim DSN, DB_CONN
DSN = "DRIVER={Microsoft Access Driver (*.mdb)};" &#38; _
      "DBQ=" &#38; Server.MapPath("Northwind.mdb") &#38; ";" &#38; _
     [...]]]></description>
			<content:encoded><![CDATA[<p>Download and install DWebPro and then place your Web application files in the <span class="interface">deploy\www</span> folder (usually <span class="interface">C:\DWebPro\deploy\www</span>). Open your Web scripts and edit the Microsoft Access connection string as follows:</p>
<pre class="programlisting">&lt;%
Dim DSN, DB_CONN
DSN = "DRIVER={Microsoft Access Driver (*.mdb)};" &amp; _
      "DBQ=" &amp; Server.MapPath("Northwind.mdb") &amp; ";" &amp; _
      "UID=admin;PWD=;ReadOnly=1;Exclusive=1;"
Set DB_CONN = Server.CreateObject("ADODB.Connection")
DB_CONN.Open(DSN)
%&gt;</pre>
<p>Where <span class="interface">Northwind.mdb</span> is your database file.</p>
<p>The last step is burning the <span class="interface">deploy</span> (usually <span class="interface">C:\DWebPro\deploy</span>) folder on a CD/DVD. See the details of this step in the <a href="http://www.dwebpro.com/how-to/248/how-to-distribute-a-php-and-mysql-web-site-with-dwebpro.php" title="Distribute PHP/MySQL Web Sites">Distribute PHP/MySQL Web Sites</a> topic. If you need to execute write operations on the Microsoft Access database, you have to configure DWebPro to copy the database files onto the user&#8217;s file system. Read the <a href="http://onlinehelp.dwebpro.com/en/msaccess_tab.html" title="Microsoft Access" target="_blank">Microsoft Access</a> topic to understand the different ways this can be done. When DWebPro copies the database files onto the user&#8217;s file system, it provides way to find the destination folder. Here is sample code to create your own DSN to connect to a Microsoft Access database saved on the user&#8217;s file system:</p>
<pre class="programlisting">&lt;%
Dim DSN, DB_CONN
DSN = "DRIVER={Microsoft Access Driver (*.mdb)};" &amp; _
      "DBQ=" &amp; Request.ServerVariables("DWEBPRO_MSACCESS_DATADIR") &amp; _
      "\Northwind.mdb;UID=admin;PWD=;"
Set DB_CONN = Server.CreateObject("ADODB.Connection")
DB_CONN.Open(DSN)
%&gt;</pre>
<p>The <a href="http://onlinehelp.dwebpro.com/en/asp_classic_30_support.html" target="_blank">ASP Classic 3.0 Support</a> provided by DWebPro contains some differences and many improvements over the one provided from the Microsoft. The main improvements are:</p>
<ul type="disc">
<li>
<p>New Server objects methods (<code class="methodname">FileExists</code>, <code class="methodname">DirectoryExists</code>, <code class="methodname">EjectCD</code>, <code class="methodname">LockCD</code>, <code class="methodname">UnlockCD</code>, <code class="methodname">IsInternetConnected</code>, <code class="methodname">MachineID</code>, <code class="methodname">Encrypt</code>, <code class="methodname">Decrypt</code>, <code class="methodname">ReadBinaryFile</code>)</p>
</li>
<li>
<p><code class="function">Mail</code> object that replicates the CDONTS object behavior</p>
</li>
<li>
<p><code class="function">Server.Registry</code> object that provides the ability to manipulate the system registry</p>
</li>
<li>
<p><code class="function">Request.Upload</code> object for handling file upload without needing external COM objects</p>
</li>
</ul>
<p>The <code class="filename">500-100-vb.asp</code> and <code class="filename">500-100-js.asp</code> files residing in the <span class="interface">deploy\www</span> folder have the same behavior of the <code class="filename">500-100.asp</code> files of IIS. They are accessed when the ASP engine generates an error (during page parsing or runtime execution). You can customize these error pages to match the style of your Web site. Refer to the <a href="http://onlinehelp.dwebpro.com/en/how_to_personalize_the_http_error_messages.html" target="_blank">How To Personalize The HTTP Error Messages</a> topic for more information on error documents customization. </p>
<p><b>A Note About ASP.NET</b></p>
<p>ASP.NET is a Microsoft Technology that represents the next evolution of the Active Server Pages Technology introduced with IIS 3.0 (and enhanced with the successive version of IIS). ASP.NET 1.1 and ASP.NET 2.0 normally require the presence of the Microsoft .NET Framework 1.1 and Microsoft .NET Framework 2.0, respectively. </p>
<p>This can be a huge problem for distributing stand alone Web sites on CD/DVD. Beginning with DWebPro version 6.5.1, we have introduced a new, unique feature that enables you to distribute ASP.NET 2.0 Web sites without requiring the presence of the Microsoft .NET Framework. </p>
<p>This is accomplished by installing the <a href="http://www.dwebpro.com/downloads/aspnet20_embedded_package.exe" target="_blank">ASP.NET 2.0 Embedded package</a> available from the <a href="http://www.dwebpro.com/addons">Add-On</a> page at the DWebPro Web site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/245/how-to-distribute-asp-classic-3-0-and-microsoft-access-web-site-with-dwebpro.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create Your CDs And DVDs</title>
		<link>http://www.dwebpro.com/how-to/241/how-to-create-your-cds-and-dvds.php</link>
		<comments>http://www.dwebpro.com/how-to/241/how-to-create-your-cds-and-dvds.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 10:00:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.dwebpro.com/?p=241</guid>
		<description><![CDATA[This section details how to use DWebPro from downloading the application to burning the contents of your Web site created with DWebPro onto a CD or DVD.
The proper order of tasks for creating your Web site for CD/DVD are:


Download the latest version of DWebPro


Download the necessary additional packages (for example, PHP and MySQL)


Install DWebPro and [...]]]></description>
			<content:encoded><![CDATA[<p>This section details how to use DWebPro from downloading the application to burning the contents of your Web site created with DWebPro onto a CD or DVD.</p>
<p>The proper order of tasks for creating your Web site for CD/DVD are:</p>
<ol type="1">
<li>
<p><a href="http://www.dwebpro.com/download" target="_blank">Download</a> the latest version of DWebPro</p>
</li>
<li>
<p><a href="http://www.dwebpro.com/addons">Download</a> the necessary additional packages (for example, PHP and MySQL)</p>
</li>
<li>
<p>Install DWebPro and the additional packages.</p>
</li>
<li>
<p>Configure DWebPro (<code class="filename">http.ini</code> file). Refer to the <a href="http://onlinehelp.dwebpro.com/en/dwebpro_configurator_tabs.html" title="DWebPro Configurator Tabs" target="_blank">DWebPro Configurator Tabs</a> topic for more information.</p>
</li>
<li>
<p>Configure the add-on packages. </p>
</li>
<li>
<p>Create the databases, if used.</p>
</li>
<li>
<p>Copy your own Web site files into the <span class="interface">C:\DWebPro\deploy\www</span> folder. </p>
</li>
<li>
<p>Start DWebPro and verify if the Web site works properly.</p>
</li>
<li>
<p>Burn the contents of the <span class="interface">C:\DWebPro\deploy</span> folder and subfolders to the CD/DVD.</p>
</li>
</ol>
<p>Additionally you can create a text file named <code class="filename">autorun.inf</code> and place it into the root folder of the CD/DVD. This file will launch DWebPro automatically, immediately after the CD/DVD is inserted in the user&#8217;s CD/DVD drive. Here is a simple example of the autorun.inf file content:</p>
<pre class="programlisting">[autorun]
open=dwebpro\dwebpro.exe
icon=dwebpro\dwebpro.exe
label=DWebPro Demo Site</pre>
<p>In the above example, it is assumed that the DWebPro files have been previously copied to the <span class="interface">dwebpro</span> subfolder of the CD/DVD.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwebpro.com/how-to/241/how-to-create-your-cds-and-dvds.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
