![]() |
How do I run a php script from /root instead of forum/root without errors?
Example I moved this random hack to the website root instead of the domain root and get this error:
Quote:
Quote:
Quote:
Quote:
Thanks ! |
Well i don't really understand why you want your hacks to be placed outside the forum root, that is asking for problems.
One way f solving this could be by changing directory to the forum root, just before you call any vB scripts. |
They are hacks that use the forum database but are shown on seperate page.
Only reason I want to move them is because they are links on main page of website where everything is www.domain.com/script.php except 2 of them and looks nicer if all of them are in same directory. |
Quote:
chdir('./forums'); |
....
thats simple hahaha Thanks Zachery ! |
All times are GMT. The time now is 07:07 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:
|