![]() |
If in external PHP script
I have a PHP script.
It is a PHP page outside of the forum, but on the same server. I want to make the script only visible to registered users. I used this, but does not work. You know you help me? Code:
<?php |
I think to get that to work you have to chdir to the forum directory, include global.php, and then chdir back (if you need to). Someone just posted some code that does that: https://vborg.vbsupport.ru/showthread.php?t=269215
|
All times are GMT. The time now is 07:20 AM. |
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:
|