WebsiteBaker Support (2.8.x) > Templates, Menus & Design

include problem

(1/1)

xia:
I have a script write in php. I want tu include this script in template. I use this command:

--- Code: ---<?php include("http://doamin.com/templates/ariscss/rezerva.php");?>
--- End code ---
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]

thorn:
Hello,


--- Quote ---URL file-access is disabled in server configuration

--- End quote ---
You are not allowed to use a URL in an include()-statement.

If templates/ariscss/rezerva.php is local, try this one:

--- Code: ---<?php include(WB_PATH."/templates/ariscss/rezerva.php");?>

--- End code ---

thorn.

xia:
Work.
Thanks! :mrgreen:

Navigation

[0] Message Index

Go to full version