![]() |
request phpfile outside board
Hi all!
I was wondering how I can request an own-made-phpfile (where I included a script that includes a template made in vb) that is outside my board-folder ? (I still want to use the vb-commands in the requested own-made-phpfile :) ) thanks in advanced, Greetzzz N1ckN4mE! |
I think this is what you need...........
Above: require_once('./global.php'); put this: chdir('<path to your forum/home/user/website/forum/'); So it looks like this: chdir('/home/fhlinux199/k/kroozing.com/user/htdocs/forum/'); require_once('./global.php'); Was that it? :) This could be an useful topic aswell How to create your own vbulletin pages: https://vborg.vbsupport.ru/showthread.php?t=62164 |
Quote:
That was excatly what I ment! I succeeded in your advice so Thank you very much! Catch ya around Zemic ;) --- ps: one more thing tho.... do you or someone happen to know how I still can use my $stylevar command? example: PHP Code:
|
toobad that using the global.php only gives you like half the features for instance you cant get a who is online thingor the board stats with it
|
All times are GMT. The time now is 11:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|