UK Web Hosting on Facebook

Posted on May 5, 2010
Filed Under cPanel Web Hosting, Domain Hosting, Multiple Domain Web Hosting, PHP Hosting, PHP Nuke Web Hosting, UK Web Hosting Vouchers, Coupons, Codes and Offers, Web Hosting, WHM Hosting | Leave a Comment

Everyman Hosting (UK Web Hosting providers) are moving into the social networking scene with a push into Facebook and Twitter.

What follows will be a series of promotions for Facebook users – there will be a run of promotional discounts with coupon or voucher codes for UK Web Hosting products and services. Blog posts, news and messages will be posted regularly to the page as well, keeping you up to date on what is going on with Everyman Hosting.

Catch the early bird and add yourself to the Facebook page …

Warning: include() [function.include]: URL file-access is disabled in the server configuration

Posted on November 10, 2007
Filed Under PHP Hosting | Leave a Comment

If your PHP installation is secure and you try to include a file using an absolute path or a remote file then you will face this issue. For example …

include ("");

will result in you seeing this PHP error when viewing the page in your browser …

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/user/public_html/page.php on line xx

Warning: include( [function.include]: failed to open stream: no suitable wrapper could be found in /home/user/public_html/page.php on line xx

Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/page.php on line xx
PHP 5 has the include function for remote files disabled by default and if your host is using another version of PHP and has secured the installation then you will also face this error.

The reasons for disabling PHP include for remote files is clear – to do so would leave your coding open to cross site scripting attacks (XSS attacks). This is the method by which someone of malintent would inject their own code into yours, such malicious code is usually crafted to conduct a DoS (Denial of Service) or DDoS (Distributed Denial of Service) attack both of which would cause server downtime. Other injections could include alternative page content, such as a ‘Hacked by some Hackers’ type of announcement across your web page(s).

So if you were planning on asking your host to allow this function for remote files, think again.

This error can easily be dealt with by using a better solution for including remote file contents in your coding. If you want to include a remote file then I would recommend that you use the file_get_contents() function instead. Use this function together with a variable and return the variable in your code …

$a = file_get_contents("");
echo ($a);

If you are trying to include a file that is already in your site then use a relative URL rather than an absolute one …

include (file.php);

Another alternative, and one that is perhaps easier to write in since it uses the require_once function which does not require the use of anything other than system variables, is the following:


PHP Web Hosting

Posted on October 31, 2007
Filed Under PHP Hosting | Leave a Comment

This is our section dealing with tutorials and guides on writing and implementing good PHP code. Learn and contribute to this fascinating subject. PHP has become one of the webmasters greatest tools in achieving steamlined, automated and detailed web site solutions. Most web site scripts are written in PHP using MySQL, its an incredibly versatile programming tool and invaluable in web site building.




website promotion