WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • include problem
  • Print
Pages: [1]   Go Down

Author Topic: include problem  (Read 5323 times)

Offline xia

  • Posts: 65
include problem
« 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:
Code: [Select]
<?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]
« Last Edit: March 25, 2008, 01:35:18 PM by xia »
Logged

thorn

  • Guest
Re: include problem
« Reply #1 on: March 25, 2008, 02:56:26 PM »
Hello,

Quote
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:
Code: [Select]
<?php include(WB_PATH."/templates/ariscss/rezerva.php");?>

thorn.
Logged

Offline xia

  • Posts: 65
Re: include problem
« Reply #2 on: March 25, 2008, 04:06:57 PM »
Work.
Thanks! :mrgreen:
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • include problem
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2