Author Topic: include ()  (Read 4089 times)

0 Members and 1 Guest are viewing this topic.

Offline NickV

  • Newbie
  • *
  • Posts: 3
include ()
on: Thu, 20. September 2007 - 17:41:02
Well i cant figure out how to make a include.
i use iframe but i want to use inlcude, can you tell me how plz.
i always get: vLIB: PHP is not allowed within the template ...

Greets me

EDIT: its a php file i want to inlcude
Last Edit: Thu, 20. September 2007 - 17:52:31 by V3nn3tj3

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Re: include ()
Reply #1 on: Fri, 21. September 2007 - 13:26:57
All your posts will be closed until you get a username, which is not violating against the rules.

EDIT: Unlocked Topic

"V3nn3tj3" is not a real name.
Last Edit: Fri, 21. September 2007 - 15:32:18 by ClausVB

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Re: include ()
Reply #2 on: Fri, 21. September 2007 - 15:34:28
Please post a simple example.

PHP-Code is not working within a template. Thats the way it should be.

HTML-Tag "iframe" should work.

Regards,
Claus

Offline NickV

  • Newbie
  • *
  • Posts: 3
Re: include ()
Reply #3 on: Fri, 21. September 2007 - 18:02:52
Well im trying to include a webpage (thats located in my folder (so its on my website).
Now, if i use iframe i only see like 200 pixels (if i set height to 100%) (but think its my themplate (that is not vLIB but just php ....).
But if i use include() to show the file, i cant do it in the vLIB.
So is there a way to use include or iframe so if i set 100% i see my hole webpage (becuase i dont want to see a scrollbar 2 times ..) (maybe i need to take a look at my webpage (its http://pfn.sourceforge.net/; PHPfileNavigator v2) but its in spannish, if you know a other script who has the traffic counter feature, i could use that one so i dont have any problem at iframe)

Greets V3n

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Re: include ()
Reply #4 on: Fri, 21. September 2007 - 21:42:28
if you know a other script who has the traffic counter feature, i could use that one so i dont have any problem at iframe)

vLIB has a traffic counter feature? I am totally puzzled.

vlibTemplate is used to seperate logic (PHP) and design (HTML + CSS).

I post my request again:

Please post a simple example.

Regards,
Claus

PS: Your website delivers error 404.

Offline NickV

  • Newbie
  • *
  • Posts: 3
Re: include ()
Reply #5 on: Fri, 21. September 2007 - 22:15:01
nooo, what i mean is:

I use a script : http://pfn.sourceforge.net/ and its a filemanager with tarffic counter.
I cant integate it because of THE THEMPLATE (srr for caps) of that filmemanager (so nothing to do with vLIB) becuase when i integrate it with iframe it only shows 200 pixels.

I was just asking if you know a other script that also counts traffic and is a filemanager so i could use that so my problem would be solved.
But now i need to rewrite the themplate or maybe use (the PHP fuction) include (so i just include the page in it). but then i dono how to get Include() to work in my themplate.

Greets V3n

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Re: include ()
Reply #6 on: Sat, 22. September 2007 - 00:17:53
Whatever problem you have, I do not understand it. You get an error, but you do not want to post a script, which will reproduce the error.

Topic closed.

Regards,
Claus