Basic include() example
Last Updated on Wednesday, 14 July 2010 11:24 Written by Shai Ben-Naphtali Wednesday, 14 July 2010 11:17
Related documents:
- http://php.net/manual/en/function.include.php
- http://forum.arvixe.com/smf/general/php-script-errors/
vars.php:
<?php
$color = ‘green’;
$fruit = ‘apple’;
?>
index.php:
<?php
define(‘BASE_PATH’,'c:/hostingspaces/shai/shai-arvixe.com/wwwroot/’);
include BASE_PATH . ‘inc/vars.php’;
echo “A $color $fruit”; // A green apple
?>
Result and expected output:
Learn MoreA green apple
Running Perl on Windows hosting
Last Updated on Sunday, 20 June 2010 08:43 Written by Shai Ben-Naphtali Sunday, 20 June 2010 08:35
Related documents:
- How to get more detailed errors from IIS
- Error message when you visit a Web site that is hosted on IIS 7.0: “HTTP Error 403.19 – Forbidden”
- HOW TO: Configure and Test a PERL Script with IIS 4.0, 5.0, 5.1, and 6.0
When trying to run a Perl script on your Windows hosting running IIS7 on Windows 2008, you might see this error message:
HTTP Error 403.19 – Forbidden
The configured user for this application pool does not have sufficient privileges to run CGI applications.
Learn More
Tags: error 403.19, forbidden, iis7, perl, windows | Posted under DotNet/Windows Hosting, Windows Server Admin | No Comments

Recent Comments