I cannot decide which OS should I take with the EQ4 Server from Hetzner. Really good hardware and much cheaper than Theplanet, 1&1 and Strato etc.
I need a secure and fast server for less than 100 domains and less than 10 active sites with daily 100k+ pageviews and monthly 1-2TB traffic.
I need a good linux distro as webserver with php, mysql, apache, webmin and virtualmin. Later I will need ffmeg. I dont want to pay extra money for control panel like cpanel or plesk. I am not a linux guru therefore it must be easy configurable.
This is useful if you want to create dynamic keywords from content or just sort words by appearing frequency in a text or html by excluding very common words like "the on and to ...". You can give custom limit of words to return and custom words to ignore.
Your office 2007 / word (winword.exe) crashing on close? Open regedit goto "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word" and delete "data" and all 3 subkeys under :
Sometimes we build websites with both long and short pages. Some of them dont need scrollbars and browsers dont display scrollbars as default. But if you have centered container Firefox change tha x-place(margin to left) depends on scrollbars. It looks like design/position problem. To prevent this we need permanent enabled scrollbars but not horizontally. We can enable xy scrollbars with "body { overflow: scroll; }". There is no property for just y in css2. In css3 there are properties like overflow-y, overflow-x etc. Use following code to fix it:
Sometimes we write a script and need to test it online or on a special domain / IP. And we dont want that public people and web crawlers access the page. We just need a very small Authentication Code. This three-line code could help to protect your beta scripts while developing or testing. Just change 'mypassword' to any word what you like.
I need a small core loader for a small website. I dont want to assing content and use php's echo / print functions in all included sub files. I want to be able to include both html / text files and executable php files. I want to catch raw html output and dynamic output from any included php file. This code below can do what I want. But I am not sure if this is a good solution. Any idea?
flush();
ob_start();
include($your_php_or_html_file);
$content = ob_get_clean(); // output of included file
ob_end_clean();