WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: xia on March 25, 2008, 01:32:58 PM
-
I have a script write in php. I want tu include this script in template. I use this command:
<?php include("http://doamin.com/templates/ariscss/rezerva.php");?>
This script work alone. See that here: attach "form.jpg"
If include this script in page I have this error: "effect.jpg"
How can resolv this problem?
[gelöscht durch Administrator]
-
Hello,
URL file-access is disabled in server configuration
You are not allowed to use a URL in an include()-statement.
If templates/ariscss/rezerva.php is local, try this one:
<?php include(WB_PATH."/templates/ariscss/rezerva.php");?>
thorn.
-
Work.
Thanks! :mrgreen: