![]() |
replace missing php include files with custom error (code)
I tried to accomplish this on a few occasions and never had much luck.
I posted here for some assistance but I found the answer on my own througout the day. If you want to use php include code in your vBulletin or vBadvanced pages local or remote you can use this code in your phpinclude start template to check if a file exists then display it otherwise display a file or message of your choice (very handy) Code:
$includefile="http://www.mysite.com/index.txt"; enjoy... |
All times are GMT. The time now is 01:17 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:
|