DWebPro Stand Alone Web Server
Getting Started with DWebPro
What is DWebPro?
System Requirements
DWebPro Architecture
Compatibility Issues
ASP.NET Compatibility
ColdFusion Compatibility
ASP Classic 3.0 Support
The aspisapi.ini Configuration File
The Server.NewMail Object
The Server.Registry Object
The Request.Upload Object
Where to Obtain Technical Assistance
Changes since DWebPro 5.2
Configuring DWebPro
Add-On Packages
DWebPro Configurator Tabs
Main
Splash Screens
Browser
Web Server
SMTP Server
Server Side Languages
ASP.NET Server
CGI
ISAPI
ColdFusion
Tomcat
Zope
Railo
JBoss
Databases
MySQL
Firebird
SQLite
PostgreSQL
HSQLDB
Microsoft Access
Microsoft SQL Server Compact Edition
Microsoft SQL Server 2000 Desktop Engine
Microsoft SQL Server 2005 Express Edition
Oracle XE
ODBC
External Software
Directories
Windows Requirements
Warnings
Exception Log
Shutdown
Additional Tools
MDAC
Flash Player
Windows Installer
Acrobat Reader
.NET Framework
Advanced Features
Auto Update
The deploy Folder
Advanced Topics
Application Program Interface (API)
Command Line Parameters
Internal Constants
Interactive Install Workflow
Additional Tools
DWebPro Browser Software
My IE Software (My Internet Explorer)
Starter Software
Advanced Tools
DWebPro Re-Brander Software
Microsoft SQL Server 2005 Compact Edition Manager
URL Rewrite Engine
Multilanguage Support
DWebPro Translator Software
Security Tools
DWebPro License Bundler Software
DWebPro Encoder Software
Trial Generation
DWebPro Trial Generator Software
DWebPro Serial Generator Software
PHP Extensions
The php_dwebpro Extension
The php_registry Extension
DWebPro Service
Frequently Asked Questions
General FAQs
Primary Web Server FAQs
Browser FAQs
ASP.NET FAQs
PHP and MySQL FAQs
ASP Classic 3.0 and Microsoft Access FAQs
Licensing FAQs
Purchasing FAQs
HOWTOs / Tutorials
How To Create Your CD/DVD
How To Read DWebPro Internal Constants From Code
How To Distribute a PHP/MySQL Web Site With DWebPro
How To Distribute ASP Classic 3.0/Microsoft Access Web Site With DWebPro
How To Use Microsoft Access Database On CD/DVD
How To Test a DWebPro Project Without Burning CDs/DVDs
Virtual CD-ROM Control Panel Setup
Create the ISO image
Activate the ISO image
How To Create An Install Package With DWebPro
How To Test Your Install Packages With The FREE License
How To Protect Your License From Stealing With The DWebPro License Bundler
How To Protect Your PHP and ASP Classic 3.0 source Code From Stealing With The DWebPro Encoder
How To Translate The DWebPro Interface
How To Personalize The HTTP Error Messages
How To Create A Trial Version Of Your Web Applications With DWebPro
How To ReBrand DWebPro With A DWebPro ReBrand License
How To Test Your mod_rewrite Directives With The Rewrite Engine Tester
License
DWebPro Licensing Model
Limitations of the Free License
DWebPro EULA
Copyright Notes

DWebPro Is The Best Stand Alone Web Server On The Market!!!

DWebPro Is The Best Stand Alone Web Server On The Market!!!

Partecipa al corso operativo "Come Vendere Con Successo il Tuo Software Su Internet" vendere-software-su-internet.it

Partecipa al corso operativo "Come Vendere Con Successo il Tuo Software Su Internet" vendere-software-su-internet.it

Partecipa al corso "Mastering Landing Pages" masteringlandingpages.com

Partecipa al corso "Mastering Landing Pages" masteringlandingpages.com

Internal Constants

Many of the fields in the DWebPro configuration file specify a path. Since the drive letter of the CD/DVD on which the Web site will run will not be known, it is obvious that paths referenced by DWebPro will have to be dynamically determined at run time. DWebPro solves this issue by using several internal constants to access and substitute dynamic values. The following table details the DWebPro internal constants.

Internal Constant Description
##TEMP## or ##DWEBPRO_TEMP##
##PROGRAMFILES## or ##DWEBPRO_PROGRAMFILES##
##WINDOWS## or ##DWEBPRO_WINDOWS##
##SYSTEM## or ##DWEBPRO_SYSTEM##
These internal constants refer to standard Windows folders.
##DWEBPRO_HASH##
This constant contains the MD5 value of the dwebpro.exe file. This value is useful in helping to protect a distributed Web application against piracy.
##DWEBPRO_PROJECTID##
This constant identifies the ProjectID of the distributed project. Refer to the Main tab topic for more information.
##DWEBPRO_PROJECTFOLDER##
This constant identifies a unique directory. Refer to the Main tab topic for more information.
##DWEBPRO_HOSTNAME##
This constant identifies the DWebPro host name. Refer to the Main tab topic for more information.
##DWEBPRO_PATH##
This constant refers to the path in which the dwebpro.exe is located.
##DWEBPRO_DOCUMENTROOT##
This constant refers to the www folder.
##DWEBPRO_PROGRAMS_PROJECTFOLDER##
This constant refers to the path of the current project in the Programs folder. Refer to the Main tab topic for more information.
##DWEBPRO_PERSONAL_PROJECTFOLDER##
This constant refers to a path in the user's personal folder (with Read and Write access) for the current project. Refer to the Main tab topic for more information.
##DWEBPRO_LICENSE_XXXX##

These constants contain the license information. You can use these value to lock your web site code against your own DWebPro License (i.e. nobody will be able to execute your web site code with another DWebPro license). The values available are:

  • DWEBPRO_LICENSE_LASTNAME
  • DWEBPRO_LICENSE_FIRSTNAME
  • DWEBPRO_LICENSE_COMPANY
  • DWEBPRO_LICENSE_EMAIL
  • DWEBPRO_LICENSE_WEBSITE
  • DWEBPRO_LICENSE_PHONE
  • DWEBPRO_LICENSE_FAX
  • DWEBPRO_LICENSE_STREET
  • DWEBPRO_LICENSE_CITY
  • DWEBPRO_LICENSE_ZIP
  • DWEBPRO_LICENSE_STATE
  • DWEBPRO_LICENSE_COUNTRY
  • DWEBPRO_LICENSE_REGISTRATIONNAME
##IEXPLORER##
This constant refers to the path to Microsoft Internet Explorer.
##MACHINENAME##
This constant refers to the network name of the machine. If DWebPro is not able to retrieve the network name, a value of 127.0.0.1 is used.
##DWEBPRO_WEBSERVER_IP##
This constant refers to the IP on which the primary web server is listening on.
##DWEBPRO_XXXX_PORT##
These constants refer to the port on which the server specified by XXXX is listening (i.e. ##DWEBPRO_MYSQL_PORT## or ##DWEBPRO_WEBSERVER_PORT##).
##DWEBPRO_XXXX_DATABASEVERSION##
These constants refer to the version of the database specified by XXXX. (i.e. ##DWEBPRO_MYSQL_DATABASEVERSION## or ##DWEBPRO_MSACCESS_DATABASEVERSION##).
##DWEBPRO_XXXX_DATADIR##
These constants refer to the folder in which there are the files of the database specified by XXXX. (i.e. ##DWEBPRO_SQLITE_DATADIR## or ##DWEBPRO_MSACCESS_DATADIR##).
##DWEBPRO_FIREBIRD_BASEDIR##
This constant identifies the folder to which the Firebird server executable files are copied.
##DWEBPRO_ZOPE_HTTP_PORT##
This constant refers to the port on which the Zope HTTP server is listening (see the deploy\engine\zope\zope-instance\etc\zope.conf file).
##DWEBPRO_ZOPE_FTP_PORT##
This constant refers to the port on which the Zope FTP server is listening (see the deploy\engine\zope\zope-instance\etc\zope.conf file).
##DWEBPRO_ZOPE_INSTANCE_HOME##
This constant refers to the Zope Home folder (see the deploy\engine\zope\zope-instance\etc\zope.conffile).
##DWEBPRO_ZOPE_HOME##
This constant refers to the Zope InstanceHome folder (see the deploy\engine\zope\zope-instance\etc\zope.conf file).
##DWEBPRO_ZOPE_IP##
This constant specifies the IP address on which the Zope application server is listening (see the deploy\engine\zope\zope-instance\etc\zope.conf file).
##DWEBPRO_RAILO_HOME##
This constant refers to the RailoHome folder.
##DWEBPRO_RAILO_CONFIGFILE##
This constant refers to the Railo ConfigFIle path.
##DWEBPRO_MSDE_INSTANCENAME##
This constant refers to the MSDE 2000 instance name.
##DWEBPRO_MSDE_INSTANCENAME##
This constant refers to the MSDE 2000 database name.
##DWEBPRO_MSDE_SAPASSWORD##
This constant refers to the MSDE 2000 administrator (sa) password.
##DWEBPRO_MSDE_TARGETDIR##
This constant refers to the path of the directory where the MSDE 2000 engine will be installed.
##DWEBPRO_MSDE_DATADIR##
This constant refers to the path of the directory where the MSDE 2000 database files will reside.
##DWEBPRO_MSDE_BACKUPFILE##
This constant refers to the MSDE 2000 backup file.
##DWEBPRO_SQLSERVER2005_INSTANCENAME##
This constant refers to the SQL Server 20005 Expres Edition instance name.
##DWEBPRO_SQLSERVER2005_SAPASSWORD##
This constant refers to the SQL Server 20005 Expres Edition administrator (sa) password.
##DWEBPRO_SQLSERVER2005_TARGETDIR##
This constant refers to the path of the directory where the SQL Server 20005 Expres Edition engine will be installed.
##DWEBPRO_SQLSERVER2005_DATADIR##
This constant refers to the path of the directory where the SQL Server 20005 Expres Edition database files will reside.
##DWEBPRO_TRIAL_TYPE##
This constant refers to the type of trial protection used. It can contain one of the following values: none, day,time, start
##DWEBPRO_TRIAL_EXPIRATION##
This constant refers to the expiration date (in yyyy-mm-dd format) specified in the Time Trial field of the DWebPro Trial Generator tool.
##DWEBPRO_TRIAL_MAXSTART##
This constant refers to the number of allowed starts specified in the Start Number field of the DWebPro Trial Generator tool.
##DWEBPRO_TRIAL_MAXDAY##
This constant refers to the number of allowed days of execution specified in the Day Number field of the DWebPro Trial Generator tool.
##DWEBPRO_TRIAL_REGISTERED##
This constant contains true if the web application has been registered, otherwise it contains false.
##DWEBPRO_TRIAL_DAYSREMAINED##
This constant contains the number of days of execution still available. This value is valid for both Time Trial and Day Trial types of trial protection.
##DWEBPRO_TRIAL_STARTSREMAINED##
This constant contains the number of starts still available.

You can get the same values of the ##DWEBPRO_***## internal constants using the ##PRODUCT_***## format.

You can also use the environment variables provided by the operating system using a constant like ##ENV_nnnn## with the "nnnn" string representing the name of the environment variable. For example:

##ENV_PATH##
##ENV_APPDATA##
##ENV_CLASSPATH##

For information on how to read DWebPro Internal Constants, refer to the How to Read DWebPro Internal Constants from Code topic.


DWebPro Is The Best Stand Alone Web Server On The Market!!!

DWebPro Is The Best Stand Alone Web Server On The Market!!!

Partecipa al corso operativo "Come Vendere Con Successo il Tuo Software Su Internet" vendere-software-su-internet.it

Partecipa al corso operativo "Come Vendere Con Successo il Tuo Software Su Internet" vendere-software-su-internet.it

Partecipa al corso "Mastering Landing Pages" masteringlandingpages.com

Partecipa al corso "Mastering Landing Pages" masteringlandingpages.com
Prev Page Prev Page