oohrogerpalmer Posted August 4, 2009 Author Report Share Posted August 4, 2009 This is a professional web hosting - I pay a fee once a year to www.web-mania.com. I've been working through stephans tutorials because I want to use css and php includes in the future. I was under the impression that this was the way forward - not least of all because of the reasons you noted. Is there anyway I can activate this part of the php functionality? I'm happy to try anything - simplicity is the key, so whatever is easy to operate, rather than easy to create. If you could point me towards an alternative and I'll inordinately screw it up and end up back here..Once again thanks for the patience. Quote Link to comment Share on other sites More sharing options...
oohrogerpalmer Posted August 4, 2009 Author Report Share Posted August 4, 2009 I'll get in touch with the support and ask the question. Is it unusual for a provider to not allow this aspect of php - seems like one of the fundamental benefits of php to me. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 4, 2009 Report Share Posted August 4, 2009 "Is it unusual for a provider to not allow this aspect of php - seems like one of the fundamental benefits of php to me." Well, take a look at the PHP page I linked to on includes, set up a quick test page and make sure that it doesn't work before making any conclusions. That said, some hosting providers do limit what you can use, in case they think it might be a security risk. I can't see why they would restrict includes though... maybe something to ask them yourself (once you have tested, of course). I don't think there is any way to get around that restriction, except by changing hosts. Quote Link to comment Share on other sites More sharing options...
oohrogerpalmer Posted August 4, 2009 Author Report Share Posted August 4, 2009 I'll do that tomorrow. I hope it works 'cos php.includes seem like the bee's knees. I'm losing hope on my csv table. What do you advise is the best way to get data out a 70 field table out of mySQL table and onto my home comps spreadsheet? Apologies for being so defeates and slightly pathetic. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 4, 2009 Report Share Posted August 4, 2009 Maybe you missed my comment in post #29 above: "Could you perhaps do this a different way? For example, instead of generating a text file, generate a long string of text and have the user copy/paste it somewhere? If that would work, I should be able to help you with that, and hopefully it will bypass the issue." Might be slightly more work for you, since I imagine you'd need to create a text file manually and copy/paste the data there, but that may be one way around it. Quote Link to comment Share on other sites More sharing options...
oohrogerpalmer Posted August 4, 2009 Author Report Share Posted August 4, 2009 Ah. Sorry about that. I'll get on wih that and see how thing s pan out; Many many thanks Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 4, 2009 Report Share Posted August 4, 2009 One other comment... Did a little searching on this issue... Have you tried setting the file permissions on export.csv to "0777"? How exactly you go about this depends... For example, I can do it either through my FTP program or through the Control Panel (Cpanel) that my host offers. This gives instructions for two FTP programs: http://support.discusware.com/center/resources/howto/chmod.html Basically, you just have to set the file to allow read/write/execute for owner/group/public. Quote Link to comment Share on other sites More sharing options...
oohrogerpalmer Posted August 4, 2009 Author Report Share Posted August 4, 2009 Your a genius. Brilliant - works a treat. thanks for all the perserverance, and if it is anything like as difficult typing with your kittne s it is for me, even more thanks. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 4, 2009 Report Share Posted August 4, 2009 Excellent - glad that we figured it out in the end. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.