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:

  1. http://php.net/manual/en/function.include.php
  2. 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:

A green apple

Learn More

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:

  1. How to get more detailed errors from IIS
  2. Error message when you visit a Web site that is hosted on IIS 7.0: “HTTP Error 403.19 – Forbidden”
  3. 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

Search

Authors

Web Hosting

Linux Hosting
ASP .NET Hosting
Business Hosting
Reseller Hosting
E-Commerce Hosting
Dedicated Servers

Acceptable Use Policy
Terms of Service
Privacy Policy

Affiliate Program
Site Map

Blog Hosting

PostNuke Hosting
WordPress Hosting
b2evolution Hosting
Textpattern Hosting
Habari Hosting


CMS Hosting

CMS Made Simple Hosting
phpNuke Hosting
Geeklog Hosting
phpWCMS Hosting
phpWebSite Hosting
Shopping Cart Hosting

OpenCart Hosting
osCommerce Hosting
CubeCart Hosting
Buy Safe Hosting
Zen Cart Hosting


Video Sharing Software Hosting

iVidPlay Hosting
ClipBucket Hosting
ClipShare Hosting
osTube Hosting
vShare Hosting
Forum Hosting

XMB eXtreme Hosting
phpBB Hosting
Simple Machines Hosting
Vanilla Forum Hosting
AEF Hosting


Social Network and Community Website Hosting

SocialEngine Hosting
Jcow Hosting
Skadate Hosting
Dolphin Hosting
Elgg Hosting
Copyright © 2003-2013 Arvixe, LLC. All trademarks are property of their legal owner.