Important Notice:
Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi folks
I'm hoping this post will 'help' me. I've got a directory type site, running on php, which I 'inherited' It worked before migration to H9, but now has php errors. I've tried to follow the knowledge base and support help, but I'm lacking the skils to execute things correctly. Would any kind soul out there like to offer to hold my hand to fix it. the site is www.b2eprofit.com Hopefuly, I'll gain 3 things: 1. fix site - 2. increase knowledge or awareness of my limitations - 3. I'll discover how friendly the H9 forum is to 'Old Idiots' like me - ta Brian |
|
#2
|
|||
|
|||
|
Search the site for include() and include_once() - the use of url-style has been disabled (not sure if you can enable it but personally, I never liked using it.
Instead I use things like: $DirRoot = $_SERVER['DOCUMENT_ROOT']; require_once ("$DirRoot/somefile.php"); ... Of course, this won't work in some of your situations when you are passing values via the url: ShowBanner.php?BannerType=468x6 You could change ShowBanner.php to look at session variables or declare a routine within it that you can call and pass it the size include_once('ShowBanner.php'); ShowBanner(486,6); You would have to recode ShowBanner.php to do the right thing when being called directly via a URL or just being included. Brian |
![]() |
| Thread Tools | |
| Display Modes | |
|
|




Linear Mode
