Skip to main content
CafeWebmaster

Main navigation

  • Tools
    • MD5 converter
    • SHA1 converter
    • Base64 encode
    • Base64 decode
    • HTML entities encode
    • HTML entities decode
    • Raw url encode
    • Raw url decode
    • UTF8 encode
    • UTF8 decode
    • Unix Time to Human Date converter
    • Remove duplicate lines
    • Sort text lines
    • Backwards - Mirrored Text
    • PiRaTe tExT
    • Your IP Address & Hostname
  • Forums
  • Free PHP Scripts
    • Image watermark with PHP
    • Page generation time with PHP
  • CSS
    • CSS hidden left menu
    • CSS horizontal menu
  • Free Fonts
  • Image Editors
  • Tutorials
    • Check password strength / safety with PHP and Regex
    • Cómo hacer que su sitio web popular!
    • How2 make a website popular
    • How2 secure your website
    • Kennwort Sicherheit mit PHP und Regex Prüfen
    • Page generation time and http-referrers with php
    • Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
  • New
User account menu
  • Log in
By rex, 24 December, 2009

Howto duplicate (clone) Virtualbox VM in Ubuntu Linux

  • Read more about Howto duplicate (clone) Virtualbox VM in Ubuntu Linux
  • Log in to post comments


sudo VBoxManage clonevdi WinXP.vdi WinXP-new.vdi

By rex, 22 December, 2009

Howto install dig in Debian 5 (Lenny)

  • Read more about Howto install dig in Debian 5 (Lenny)
  • Log in to post comments

The tool 'dig' allow you to see your DNS records like A, MX, TXT etc

Its in in the package 'dnsutils' in debian.

Open a terminal and run the command:


apt-get update && apt-get install dnsutils

By Anonymous (not verified), 18 December, 2009

Navigation buttons with Swish-Max

I am creating a flash picture gallery with swishmax3. How can I do it with Swish?

  • Read more about Navigation buttons with Swish-Max
  • Log in to post comments
By Anonymous (not verified), 11 December, 2009

Ubuntu or CentOS or Fedora Linux or Debian on a Webserver (LAMP) ?

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.

Reasons why i can not decide:

  • Read more about Ubuntu or CentOS or Fedora Linux or Debian on a Webserver (LAMP) ?
  • Log in to post comments
By Anonymous (not verified), 2 December, 2009

Get top 100 words / keywords from a text with PHP

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.


      
    
  • Read more about Get top 100 words / keywords from a text with PHP
  • Log in to post comments
By Anonymous (not verified), 1 December, 2009

Comparison of HDGuard, DeepFreeze, Dr-Kaiser and SteadyState

I need a good quality software to protect all PCs of an Network (like Schools, Cources, Libaries, Internetcafes etc).

It must be able to protect whole PC incl. all hard disks and partitions (incl. system partition C).

Is should restore to permitted point after each reboot.

It should be much faster than copy and disk-image. Just couple of seconds allowed.

It must be strong enaugh against all malware, viruses, users etc.

It should be able to let admin user to run windows updates or any custom software update.

  • Read more about Comparison of HDGuard, DeepFreeze, Dr-Kaiser and SteadyState
  • Log in to post comments
By Anonymous (not verified), 1 December, 2009

Fix for MS Word 2007 appcrash when closing

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 :

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word

. Or try ctrp+f3 and search for "settingswordmail" to find that path faster.

  • Read more about Fix for MS Word 2007 appcrash when closing
  • Log in to post comments
By Anonymous (not verified), 18 November, 2009

Enable vertical scrollbars in Firefox permanently with CSS2

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:

 html { height: 101%; } 
  • Read more about Enable vertical scrollbars in Firefox permanently with CSS2
  • Log in to post comments
By Anonymous (not verified), 17 November, 2009

A small login to add to top of online testing scripts

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.

under construction
"); ?>
  • Read more about A small login to add to top of online testing scripts
  • Log in to post comments
By Anonymous (not verified), 17 November, 2009

Include both php/ html files, catch & assign output to a string variable

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();

Maybe include_once is better than include.

  • Read more about Include both php/ html files, catch & assign output to a string variable
  • Log in to post comments

Pagination

  • First page
  • Previous page
  • …
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Current page 19
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • …
  • Next page
  • Last page
CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.