|
| |
|
|
treetopsranch
Posts: 1141 From: Cottage Grove, OR, USA Status: offline
|
RE: If your PHP includes suddenly stop working - 3/16/2008 21:20:51
Thanks for the heads up on that one. I have one host that is always doing something with their servers without notifying me first.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: If your PHP includes suddenly stop working - 3/17/2008 17:05:12
What hosts are you using that doesn't notify you about these major changes? PHP5 breaks many outdated programs. If programmers have kept the software up to date, a switch to PHP5 should work without any problems. As far as the includes go, I don't believe PHP 5 did any major changes to the way includes were handled. Here's a php4 and php5 example that shows that you can using http:// for an include. Sounds like your host may not have properly configured php 5... Might want to verify that they have setup allow_url_include in the php.ini file, I think that is a common mistake when setting up php5. http://php5test.rp-s.com/phptest4/ and http://php5test.rp-s.com/phptest5/ I've uploaded the phpinfo for both of the folders.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: If your PHP includes suddenly stop working - 3/17/2008 17:07:51
Also, you may be able to fix this yourself if your host won't help.. Put the following inside your .htaccess file: allow_url_include On
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|