Jump to content

f1p2

Members
  • Posts

    6
  • Joined

  • Last visited

f1p2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ok.. This post has been answered now in another section of the forums. php includes() are disabled on Heliohost for files on other servers for security reasons. Thanks
  2. Hi, I sincerely hope I don't annoy anyone by posting this question here. I've sort of asked a similar question in the general discussion, (website management and hosting section) of the forums but have concluded that since my coding seems to be correct then this question possibly relates to whether the feature is enabled or not on the server. So as the title asks. Is ini_set('allow_url_include','on'); disabled on Heliohost ? I'm asking the question because whenever I use a php include() function to point to a file with an external url I get a blank page but when I use a local file the include works. When I tried googling for a solution one of the answers was that the host server may have disabled this feature so I'm just wondering if this is the case with Heliohost. Can anyone at Heliohost tell me if this is the case or alternatively if anyone has successfully used a php include() with an external url Thanks in advance for any answers.
  3. I only started learning php recently so have never actually used an editor other than the code editor built in to cpanel ! It's possible I'm being short sighted here but anything more advanced than notepad or the basic editor that comes as standard just seems to me to be a little over the top. I guess the main reason is that I like to keep things simple and having just a small lap top I also don't cherish the idea of squeezing more programs on to the desktop than is absolutely necessary. Apart from that, I've found learning by trial and error, looking up the error messages that php/mysql throws out to have been quite a useful experience. I also have to wonder just how up to date these editors are. Having just taught myself one way to use mysql for example I read that some of the functions are being deprecated eventually in favour of PDO. It was annoying having to relearn everything I'd taken a considerable time to get just right but by using just a basic code editor it wasn't too stressfull replacing the old syntax with the new. You have got me wondering now though. I hope lots of people answer your question as it might make me consider giving another editor a try.
  4. Thank you for the suggestion. Sorry I didn't reply earlier. I was waiting for Stevie to regain consciousness. Anyway.. I changed the permissions and still get a blank page. As I mentioned before.. it works if I include the file on the same server. I also double checked the file path. I know it's correct because it works if I paste it directly into the address bar. Finally I also tried using.. ini_set('allow_url_include','on'); Apparently this needs to be set in some instances and I'm not sure if this is where the problem lays. I don't know much about ini files but I'm also wondering if heliohost have just disabled allow url include because when I Googled for help I found another post with another host provider where this feature has been disabled. Thanks in advance to all you kind people for any more suggestions.
  5. Hi there, Whilst attempting to make some of my code easier to read I decided to adopt a modular approach and use the include() function to include portions of code I might reuse in separate files. When I use an include with a local file (ie:relative to the root directory) the code is included into the calling script as expected.When I try to include a file on another server by including the domain, path and filename in the include function all I get is a blank page. I did read somewhere that in some instances it's necessary to add some configure information to the configure file when you want to include from files on another server. Does anyone know if this is needed on heliohost or whether external includes have been disabled ? Thanks in advance for any help
×
×
  • Create New...